The front-end for inscribe.news is powered by Cloudflare Pages, and contains not only the website but also a powerful API and indexer to interact with any inscription and it's content.

The following API endpoints are available and documented at the root of the API, where ID is either the inscription ID or the inscription number.



Returns on-chain inscription information as JSON


Returns on-chain inscription content, based on mime type


Returns HTML by parsing the inscription body (news only)


Returns the inscription info and content above in one call as JSON (news only)


Returns all indexed and valid news inscriptions


Returns all indexed inscriptions

This API creates a cached layer of inscription data, and everything is returned from the edge when available. If not, the data is fetched then stored from the Hiro Ordinals API for future reads.

The API code exists in the /functions directory of the project, and Typescript types are available in this helper file.

This API is free to use for any website, if you find it useful or run into any errors, please file an issue on GitHub!

Fetching all Data

The /api/data/ord-news and /api/data/ord-list endpoints return a list of keys found in the KV namespace, and supports the following query parameters:



If list_complete is false, this value can be used to call again to get the next batch.


Return a list of keys starting with a particular prefix.


Modify the number of results returned, default/max 1,000.

Last updated