Developers

Use MessyAPI from anywhere.

One key works across every access method. Tools install directly from MessyAPI.

REST

available

https://messyapi.com/api/v1/* — JSON in, JSON out.

curl https://messyapi.com/api/v1/usage \
  -H "Authorization: Bearer $MESSYAPI_KEY"

JavaScript SDK

available

Install directly from MessyAPI. Retries 429/5xx with backoff, honours Retry-After.

npm install https://messyapi.com/pkg/messyapi-sdk-1.1.0.tgz

Python SDK

available

Install directly from MessyAPI; import as messyapi.

pip install https://messyapi.com/pkg/messyapi-1.1.0-py3-none-any.whl

CLI

available

Installs the messyapi command.

npm install -g https://messyapi.com/pkg/messyapi-cli-0.1.0.tgz
messyapi --help

MCP

available

Remote endpoint https://messyapi.com/mcp (streamable HTTP) or local stdio bridge: npm install -g https://messyapi.com/pkg/messyapi-mcp-1.0.0.tgz

https://messyapi.com/mcp

OpenAPI 3.1

available

Machine-readable spec; importable into Swagger and RapidAPI.

https://messyapi.com/docs/openapi.json

Postman

available

Collection v2.1 with {{baseUrl}} / {{apiKey}} variables.

https://messyapi.com/docs/postman.json

RapidAPI

available

Subscribers are authenticated automatically via the RapidAPI proxy; traffic is metered under the same account model.

RapidAPI marketplace listing

Starter project · 60 seconds

Node 18+

Paste into a terminal: creates a folder, reads your key from the environment (never from code) and makes your first call.

mkdir messy-starter && cd messy-starter
cat > index.mjs <<'JS'
// Reads MESSYAPI_KEY from the environment — never hard-code keys.
const res = await fetch("https://messyapi.com/api/v1/repair", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MESSYAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ records: [{ "Company Name": "ACME, INC.", Email: " JOHN@ACME.COM " }] }),
});
console.log(res.status, JSON.stringify(await res.json(), null, 2));
JS
export MESSYAPI_KEY=messy_test_...   # use a test key
node index.mjs