API CodexAPI Codex
WebsiteDashboardGet API Key
  • Documentation
  • All APIs
  • Changelog
Resources
  • Docs Home
  • API Catalog
  • API Codex Website
Platform
  • Get a free API key
  • Dashboard
  • APIs & Pricing

© 2026 API Codex. All rights reserved.

Information
Other endpoints
    Describe one HTTP status codegetList all HTTP status codesgetLook up a MIME typegetLook up MIME type(s) by file extensiongetCheck TLD validitygetList IANA TLDsget
Schemas
powered by Zudoku
Developer Reference API
Developer Reference API

Other endpoints


Describe one HTTP status code

GET
https://api.apicodex.io/reference
/v1/http-status/{code}

Returns the message, category and description for a single standard HTTP status code.

Describe one HTTP status code › path Parameters

code
​integer · min: 100 · max: 599 · required

A 3-digit HTTP status code (100-599).

Describe one HTTP status code › Responses

Status code description.

StatusEntry
code
​integer · required
message
​string · required
category
​string · enum · required
Enum values:
Informational
Success
Redirection
Client Error
Server Error
Example: Client Error
description
​string · required
GET/v1/http-status/{code}
curl 'https://api.apicodex.io/reference/v1/http-status/:code?apikey=<api-key>'
Example Responses
{ "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." }
json
application/json

List all HTTP status codes

GET
https://api.apicodex.io/reference
/v1/http-status

Lists all known standard HTTP status codes, optionally filtered by category.

List all HTTP status codes › query Parameters

category
​string · enum

Filter by category (case-insensitive; also accepts kebab/space variants such as client-error).

Enum values:
Informational
Success
Redirection
Client Error
Server Error
limit
​integer · min: 1 · max: 1000

Maximum number of items to return (1-1000). Defaults to all.

List all HTTP status codes › Responses

List of status codes.

count
​integer
total
​integer
category
​string | null
​StatusEntry[]
GET/v1/http-status
curl 'https://api.apicodex.io/reference/v1/http-status?apikey=<api-key>'
Example Responses
{ "count": 2, "total": 11, "category": "Server Error", "items": [ { "code": 500, "message": "Internal Server Error", "category": "Server Error", "description": "The server encountered an unexpected condition that prevented it from fulfilling the request." }, { "code": 501, "message": "Not Implemented", "category": "Server Error", "description": "The server does not support the functionality required to fulfill the request." } ] }
json
application/json

Look up a MIME type

GET
https://api.apicodex.io/reference
/v1/mime/type/{type}

Returns charset, compressibility, source and known file extensions for a MIME type.

Look up a MIME type › path Parameters

type
​string · required

A URL-encoded MIME type, e.g. application%2Fjson. Case-insensitive.

Look up a MIME type › Responses

MIME type information.

MimeTypeInfo
type
​string · required
source
​string | null
charset
​string | null
compressible
​boolean | null
extensions
​string[]
GET/v1/mime/type/{type}
curl 'https://api.apicodex.io/reference/v1/mime/type/:type?apikey=<api-key>'
Example Responses
{ "type": "application/json", "source": "iana", "charset": "UTF-8", "compressible": true, "extensions": [ "json", "map" ] }
json
application/json

Look up MIME type(s) by file extension

GET
https://api.apicodex.io/reference
/v1/mime/extension/{ext}

Returns every MIME type associated with a file extension.

Look up MIME type(s) by file extension › path Parameters

ext
​string · required

A file extension, with or without a leading dot. Case-insensitive.

Look up MIME type(s) by file extension › Responses

Matching MIME types.

extension
​string
mimeTypes
​string[]
GET/v1/mime/extension/{ext}
curl 'https://api.apicodex.io/reference/v1/mime/extension/:ext?apikey=<api-key>'
Example Responses
{ "extension": "json", "mimeTypes": [ "application/json" ] }
json
application/json

Check TLD validity

GET
https://api.apicodex.io/reference
/v1/tld/{tld}

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

Check TLD validity › path Parameters

tld
​string · required

A TLD with or without a leading dot. Case-insensitive.

Check TLD validity › Responses

Validity result.

tld
​string
valid
​boolean
GET/v1/tld/{tld}
curl 'https://api.apicodex.io/reference/v1/tld/:tld?apikey=<api-key>'
Example Responses
{ "tld": "com", "valid": true }
json
application/json

List IANA TLDs

GET
https://api.apicodex.io/reference
/v1/tlds

Lists IANA top-level domains, optionally filtered by prefix.

List IANA TLDs › query Parameters

startsWith
​string · pattern: ^[a-z0-9-]*$

Lowercased prefix filter (letters, digits, hyphens).

limit
​integer · min: 1 · max: 1000

Maximum number of TLDs to return (1-1000). Defaults to 200.

Default: 200

List IANA TLDs › Responses

List of TLDs.

count
​integer
total
​integer
limit
​integer
startsWith
​string | null
tlds
​string[]
GET/v1/tlds
curl 'https://api.apicodex.io/reference/v1/tlds?apikey=<api-key>'
Example Responses
{ "count": 3, "total": 1437, "limit": 3, "startsWith": "co", "tlds": [ "co", "coach", "codes" ] }
json
application/json