API
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.
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:
Last updated