Skip to content

Internet & ISO Standards API

Look up HTTP status codes, HTTP header names, IANA media types, service port numbers, URI schemes, character sets, top-level domains and ISO 4217 currencies in one JSON API.

API key required OpenAPI API conventions

The reference tables a developer checks every week, from the registries that define them, in one queryable API. Eight collections: HTTP status codes, HTTP field names (headers), IANA media types, service names and port numbers, URI schemes, character sets, top-level domains and ISO 4217 currencies. No prose, no editorial layer — the registry's own values, with a short citation for each.

Seven of the eight come from IANA, which publishes its protocol registries for free use under its licensing terms (iana.org/help/licensing-terms): the HTTP Status Code Registry (http-status-codes-1.csv), the HTTP Field Name Registry (field-names.csv), the Media Types Registry (application, audio, font, image, message, model, multipart, text and video CSVs), the Service Name and Transport Protocol Port Number Registry (service-names-port-numbers.csv), the URI Schemes Registry (uri-schemes-1.csv), the Character Sets Registry (character-sets-1.csv) and the Root Zone Database (data.iana.org/TLD/tlds-alpha-by-domain.txt). The eighth is ISO 4217 List One, published by SIX Group AG as the ISO 4217 Maintenance Agency on behalf of ISO and made available free of charge at six-group.com; copyright in the list itself remains with ISO and SIX.

Normalisation is subtraction. Reference columns are reduced to the short citation a caller cites back — reference is "RFC 9110", not "[RFC 9110, Section 15.5.5]" — and the registries' long prose columns (assignment notes, registrant contacts, the source paragraph behind a character set, the comments on a header) are not published at all. Where a register is silent the column is NULL, never a guess: minor_units is null for the thirteen ISO 4217 codes that record "N.A." (XAU, XDR, XXX and ten more), and protocol is null where the port registry names no transport. Registry padding is dropped rather than published as data: the "Unassigned" ranges in the status-code registry, and the 1,727 nameless Unassigned/Reserved rows and 1,074 port-less name registrations in the port registry. The eight range assignments in that registry (x11 on 6000-6063, flex-lm on 27000-27009 and six more) are expanded to one row per port, so every assigned port number answers an equality filter. IANA publishes no file extensions for media types, so this API publishes none.

One request each: what listens on PostgreSQL's port — /v1/standards/ports?port=5432 returns service_name "postgresql", protocol "tcp" and "udp"; whether a media type is registered — /v1/standards/media-types?media_type=image/webp returns top_level "image" and reference "RFC 9649"; which currencies have no decimal places — /v1/standards/currencies?minor_units=0 returns the seventeen zero-minor-unit codes, JPY, KRW, CLP, ISK, VND and twelve more, with the entities that use each; what 418 actually is — /v1/standards/http-statuses/418 answers "(Unused)", which is what RFC 9110 registered it as. Add &structured_type=Dictionary on /http-headers for the RFC 8941 dictionary fields, or ?top_level=font on /media-types for the six registered font types.

Row counts at the last load: 64 HTTP status codes, 260 HTTP field names, 2,368 media types, 12,045 port assignments, 451 URI schemes, 258 character sets, 1,437 top-level domains and 178 ISO 4217 currencies. The seeder re-reads every source and replaces each table whole, so a collection always matches one snapshot of its register; it is run weekly, which is roughly the cadence at which the port registry and the root zone change, and faster than the status-code or currency lists ever move. Responses carry an ETag, so an unchanged query comes back as a 304.

Calls need a Bodek API key; create one at https://api.bodek.us/keys.

Every call needs a key. Sign in to create one. Bodek API is included with the plans that cover it.

Endpoints

GET /v1/standards/http-statuses HTTP status codes
GET /v1/standards/http-statuses/{id} A single record
GET /v1/standards/http-headers HTTP header names
GET /v1/standards/http-headers/{id} A single record
GET /v1/standards/media-types Media types
GET /v1/standards/media-types/{id} A single record
GET /v1/standards/ports Service names and port numbers
GET /v1/standards/ports/{id} A single record
GET /v1/standards/uri-schemes URI schemes
GET /v1/standards/uri-schemes/{id} A single record
GET /v1/standards/charsets Character sets
GET /v1/standards/charsets/{id} A single record
GET /v1/standards/tlds Top-level domains
GET /v1/standards/tlds/{id} A single record
GET /v1/standards/currencies ISO 4217 currencies
GET /v1/standards/currencies/{id} A single record

Try it

https://api.bodek.us/v1/standards/http-statuses?limit=5

        
      

This panel sends no key, so it answers 401 — it is here to show you the shape of a request and the error envelope. Use curl with your own key to see data.

HTTP status codes

Every registered HTTP status code with its reason phrase and defining RFC.

FieldTypeDescriptionFilterSearchSort
code integer The status code, 100-599, e.g. 404. Addressable directly: /http-statuses/404.
description string The reason phrase as registered, e.g. "Not Found". 418 is registered as "(Unused)" and is published that way.
reference string Short citation of the document that defines it, e.g. "RFC 9110". Null if the registry gives none.
curl "https://api.bodek.us/v1/standards/http-statuses?limit=5&description=example&q=search+text" \
  -H "Authorization: Bearer $BODEK_API_KEY"

HTTP header names

Registered HTTP field names with their status and RFC 8941 structured type.

FieldTypeDescriptionFilterSearchSort
name string The field name as registered, e.g. "Content-Type". Addressable directly: /http-headers/content-type.
status string Registration status, lower-cased from the registry: "permanent", "provisional", "deprecated" or "obsoleted".
structured_type string RFC 8941 structured field type where one is registered: "Item", "List", "Dictionary" or "Token". Null for the 221 fields with none, e.g. "Content-Type".
reference string Short citation of the defining document, e.g. "RFC 9110".
curl "https://api.bodek.us/v1/standards/http-headers?limit=5&status=example&q=search+text" \
  -H "Authorization: Bearer $BODEK_API_KEY"

Media types

Every IANA-registered media type string, with its top-level type and citation.

FieldTypeDescriptionFilterSearchSort
id integer Row identifier, e.g. 1193. Synthetic: a media type contains a slash and so cannot be a URL path segment — look types up with ?media_type= instead.
media_type string The full registered type/subtype string, e.g. "image/webp". Unique.
top_level string Top-level type: application, audio, font, image, message, model, multipart, text or video. e.g. "image".
deprecated integer 1 when the registry annotates the entry OBSOLETE or DEPRECATED, e.g. "application/javascript"; 0 otherwise.
reference string Short citation from the registry, e.g. "RFC 8081" for font/woff or "W3C" for image/apng.
curl "https://api.bodek.us/v1/standards/media-types?limit=5&media_type=example&q=search+text" \
  -H "Authorization: Bearer $BODEK_API_KEY"

Service names and port numbers

What is registered on a TCP, UDP, SCTP or DCCP port — one row per name, port and protocol.

FieldTypeDescriptionFilterSearchSort
id integer Row identifier, e.g. 8142. Synthetic: a port number is not unique on its own, since tcp/5432 and udp/5432 are two assignments.
service_name string The registered service name, e.g. "postgresql". Indexed, so ?service_name=https is a single lookup.
port integer Port number, 0-65535, e.g. 5432. The eight range assignments in the registry (x11 on 6000-6063 and seven more) are expanded to one row per port, so every assigned port matches an exact filter.
protocol string Transport protocol: "tcp", "udp", "sctp" or "dccp". Null where the registry names no transport for the assignment.
description string The registry's own description of the service, e.g. "PostgreSQL Database". Null when it gives none. Ports the registry lists as Unassigned or Reserved, and service names registered without a port, are not published.
reference string Short citation where the assignment cites a document, e.g. "RFC 9110" for port 443. Null for the 11,708 assignments that cite only a registrant, port 5432 among them.
curl "https://api.bodek.us/v1/standards/ports?limit=5&service_name=example&q=search+text" \
  -H "Authorization: Bearer $BODEK_API_KEY"

URI schemes

Registered URI schemes with their status, syntax template and defining document.

FieldTypeDescriptionFilterSearchSort
scheme string The scheme name, lower-cased, e.g. "mailto". Addressable directly: /uri-schemes/mailto.
description string What the scheme addresses, as registered, e.g. "Electronic mail address". Null when the registry gives none.
status string Registration status, lower-cased: "permanent", "provisional" or "historical". e.g. "permanent" for mailto.
reference string Short citation of the defining document, e.g. "RFC 6068". Provisional schemes often cite a registrant instead.
curl "https://api.bodek.us/v1/standards/uri-schemes?limit=5&description=example&q=search+text" \
  -H "Authorization: Bearer $BODEK_API_KEY"

Character sets

Registered character set names, their aliases and their MIBenum.

FieldTypeDescriptionFilterSearchSort
name string The registered name, e.g. "windows-1252". Addressable directly: /charsets/windows-1252.
preferred_mime string The name to use in a charset parameter where the registry marks one preferred, e.g. "ISO-8859-1" for the set registered as "ISO_8859-1:1987". Null for the 234 entries the registry marks no preferred form for, UTF-8 among them.
mib_enum integer The IANA MIBenum assigned to the set, e.g. 106 for UTF-8 and 2252 for windows-1252.
aliases string Registered aliases, comma separated, e.g. "iso-ir-6, ANSI_X3.4-1968, ANSI_X3.4-1986, ISO_646.irv:1991, ISO646-US, US-ASCII, us, IBM367, cp367, csASCII" for US-ASCII. Search this to resolve a legacy label to its registered name. Null when the set has no aliases.
reference string Short citation, e.g. "RFC 3629" for UTF-8. Null where the registry cites nothing, e.g. windows-1252.
curl "https://api.bodek.us/v1/standards/charsets?limit=5&preferred_mime=example&q=search+text" \
  -H "Authorization: Bearer $BODEK_API_KEY"

Top-level domains

Every delegated top-level domain in the IANA root zone, with the Unicode form of each IDN.

FieldTypeDescriptionFilterSearchSort
tld string The delegated top-level domain, lower-cased, without a leading dot, e.g. "dev". Addressable directly: /tlds/dev. Only names IANA lists as delegated appear, so an empty result means "not a TLD".
unicode string The Unicode (U-label) form of an internationalised TLD, computed with IDNA2008/UTS-46 from the A-label IANA publishes, e.g. "网址" for "xn--ses554g". Null for the 1,286 ASCII TLDs.
curl "https://api.bodek.us/v1/standards/tlds?limit=5&unicode=example&q=search+text" \
  -H "Authorization: Bearer $BODEK_API_KEY"

ISO 4217 currencies

ISO 4217 alpha and numeric codes, currency names, minor units and the entities that use each.

FieldTypeDescriptionFilterSearchSort
code string The ISO 4217 three-letter alpha code, e.g. "JPY". Addressable directly: /currencies/JPY.
numeric_code string The ISO 4217 numeric code, kept as the published three-digit string so leading zeros survive, e.g. "392" for JPY and "008" for ALL.
name string The currency name as published, e.g. "Yen".
minor_units integer Decimal places in the minor unit: 0 for JPY and KRW, 2 for USD, 3 for KWD, 4 for CLF. Null for the thirteen special codes the list records as "N.A." (XAU, XDR, XXX and ten more) — null means "does not apply", not zero.
is_fund integer 1 when the list flags the entry as a fund rather than a circulating currency, e.g. "USN"; 0 otherwise.
entities string The countries and territories the list records as using the currency, semicolon separated and alphabetical, e.g. "JAPAN" for JPY; 37 entities for EUR. Search this to go from a country to its currency.
curl "https://api.bodek.us/v1/standards/currencies?limit=5&numeric_code=example&q=search+text" \
  -H "Authorization: Bearer $BODEK_API_KEY"

Common questions

How do I get access to the Internet & ISO Standards API?

Bodek API is included with the Bodek plans that cover it. Sign in, create a key on the keys page, and send it as an Authorization: Bearer header. A key is scoped to the APIs you pick, carries its own rate limits and expiry, and can be revoked at any time.

What format does it return?

JSON over HTTPS, one GET per collection, with the same filtering, search, sort and paging conventions on every endpoint. An OpenAPI 3.1 description is published at https://api.bodek.us/v1/standards/openapi.json.

How often does the data change?

It is maintained as production reference data, and responses carry an ETag so an unchanged request comes back as an empty 304. This API was last updated on 26 October 2026.

Limits

  • Up to 200 records per request (limit), 50 by default.
  • Rate limits are set per key, up to 600 requests a minute.
  • Responses are cached for up to 3600 seconds and carry an ETag.