New The MCP server is live: all 45 APIs in Claude, Cursor or any MCP client. Connect your agent

HTTP status codes, MIME types & IANA TLDs in one edge API

Developer Reference API

The Developer Reference API is the single source of truth for the boring-but-essential lookups your code needs: what HTTP 425 means, the MIME type for a .heic file, and whether .zip is a real top-level domain.

It bundles a hand-curated table of standard HTTP status codes, the full IANA mime-db (2,600+ media types), and the complete IANA root-zone TLD list (1,400+ domains) into one clean JSON API served from the edge with zero upstream calls.

Free tier included, no credit card required. One key works across every API.

At a glance

Developer Reference API

1 credit / call
Free calls / month
1,000
MIME Types
2,600+
IANA TLDs
1,400+
Lookup Speed
O(1)
Get your free API key

1,000 free calls on the free plan

Key features

  • Describe any standard HTTP status code (100-599)
  • List and filter status codes by category
  • Look up MIME type charset, compressibility, source and extensions
  • Resolve MIME type(s) from a file extension
  • Validate TLDs against the IANA root zone
  • List and prefix-search IANA top-level domains
  • Case-insensitive matching with leading-dot tolerance
  • Zero upstream calls — pure in-memory edge lookups

Built for

  • API gateways validating Content-Type headers
  • Devtools and dashboards rendering status-code docs
  • Domain-availability and registrar UIs
  • Email and file-upload validators
  • Translating codes or extensions into human-readable text
  • Content negotiation and compression decisions
  • Form validation for domain inputs
  • Backend services normalizing media types

MCP · for your agent

Hand the Developer Reference API to your agent

Connect Claude, Cursor or any MCP client once, then ask in plain words. Your agent finds this API, reads its docs and makes the call: 1 credit per call, the same as REST, from your team's balance.

Explain unfamiliar error codes

“Our logs show a spike in 422 and 429 responses. What does each one mean, and which is on our side to fix?”

list_apis · get_api_docsfree

api_request GET /reference/v1/http-status/422 1 cr

Name, category and description of each status, with a note on which side needs fixing.

Set the right Content-Type

“Which Content-Type should our CDN send for .webmanifest, .avif and .wasm files?”

list_apis · get_api_docsfree

api_request GET /reference/v1/mime/extension/wasm 1 cr

The registered MIME type for each extension, ready to drop into the CDN config.

Stop rejecting valid domains

“Our signup form rejects emails on .lol, .ninja and .corp. Which of those top-level domains actually exist?”

list_apis · get_api_docsfree

api_request GET /reference/v1/tld/corp 1 cr

Whether each TLD is in the IANA root zone, so the form only blocks ones that don't exist.

$ claude mcp add --transport http apicodex https://mcp.apicodex.io

Illustrative asks; the calls and prices are real. Claude, Cursor, VS Code and Windsurf setup: mcp.apicodex.io

Try it

Build the request for your data

Edit the parameters below and see the exact request and curl command you'd send. No key required to preview.

GET /reference/v1/http-status/404
Open in Playground

Parameters

Request · HTTP
GET /reference/v1/http-status/404?apikey=YOUR_KEY HTTP/1.1
Host: api.apicodex.io
Response · JSON 200 OK
{
  "code": 404,
  "message": "Not Found",
  "category": "Client Error",
  "description": "The server cannot find the requested resource. The endpoint may be valid but the resource itself does not exist."
}

Documentation

Developer Reference API Documentation

The Developer Reference API exposes fast, fully-offline lookups for HTTP status codes, IANA MIME types, and IANA top-level domains. All data is bundled at the edge, so responses are O(1) Map/Set lookups returned as clean JSON.

Base URL

url
https://api.apicodex.io/reference

Authentication

Authenticate every request by appending your API key as the apikey query parameter:

headers
GET /reference/v1/http-status/404?apikey=YOUR_KEY

Request and response

Illustrative values. Confirm current endpoint behavior, quotas, and data freshness in the API documentation before production use.

request · http
GET /reference/v1/http-status/404?apikey=YOUR_KEY HTTP/1.1
Host: api.apicodex.io
response · json
{
  "code": 404,
  "message": "Not Found",
  "category": "Client Error",
  "description": "The server cannot find the requested resource. The endpoint may be valid but the resource itself does not exist."
}

Code examples

cURL
curl --request GET \
  --url 'https://api.apicodex.io/reference/v1/mime/extension/json?apikey=YOUR_KEY'

Endpoints

GET /v1/http-status/{code}

Describe one HTTP status code — returns message, category and description.

/v1/http-status/404?apikey=YOUR_KEY

GET /v1/http-status

List all known HTTP status codes, optionally filtered by category and limited.

/v1/http-status?category=Server%20Error&limit=2&apikey=YOUR_KEY

GET /v1/mime/type/{type}

Look up charset, compressibility, source and extensions for a URL-encoded MIME type.

/v1/mime/type/application%2Fjson?apikey=YOUR_KEY

GET /v1/mime/extension/{ext}

Return every MIME type associated with a file extension.

/v1/mime/extension/json?apikey=YOUR_KEY

GET /v1/tld/{tld}

Check whether a top-level domain exists in the IANA root zone list.

/v1/tld/.COM?apikey=YOUR_KEY

GET /v1/tlds

List IANA top-level domains, optionally filtered by prefix and limited.

/v1/tlds?startsWith=co&limit=3&apikey=YOUR_KEY

Query Parameters

Required parameters

  • apikey Your API key, passed as a query parameter on every request.

Optional parameters

  • category HTTP status list filter: Informational, Success, Redirection, Client Error or Server Error (case-insensitive; accepts kebab/space variants).
  • limit Maximum items to return (1-1000). Status list defaults to all; TLD list defaults to 200.
  • startsWith Lowercased prefix filter for the TLD list (letters, digits, hyphens).

Pricing

Developer Reference API Pricing

This API costs 1 credit per request. Credits are shared across every API on your plan.

Cost estimator

requests per month → cheapest plan that covers it

Estimate your monthly cost

Drag the slider to match your expected request volume. We'll recommend the cheapest plan that covers it.

10,000

Recommended plan

Starter

$29.99 /month

Credits used
Credits included
Cost per 1K requests
Choose Starter

Free

Free
1,000 credits · ~1,000 requests/mo · 2 rps
  • All APIs included
  • No credit card required
  • Full documentation and examples
  • MCP server for your AI agents
  • Up to 5 active API keys
Start for free

Starter

Popular
$29.99 /month
50,000 credits · ~50,000 requests/mo · 10 rps
  • All APIs included
  • Email support
  • Usage dashboard and analytics
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Starter

Pro

$99.99 /month
250,000 credits · ~250,000 requests/mo · 25 rps
  • All APIs included
  • Priority support
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Pro

Need a different plan?

Tell us about your API, volume, or support requirements.

Contact us

FAQ

Frequently asked questions

Ready to integrate Developer Reference?