Demeter docs
Demeter runs managed Cardano APIs on mainnet, preprod and preview. You create a port, which is one API on one network, and it gives you an endpoint and an API key that work with the open-source clients you already use.
Start here
- Sign in at
https://console.demeter.run. A first project is created for you if you have none. - Create a port of the API you need and pick its network.
- Copy the endpoint and the API key from the port's page, and make a call. Each API's page below starts with one you can paste.
The APIs
Blockfrost
A Blockfrost-compatible REST API: blocks, transactions, addresses, UTxOs,
assets, protocol parameters and transaction submission, over HTTP. Works with
@blockfrost/blockfrost-js, Lucid Evolution, Mesh, Blaze, blockfrost-python
and PyCardano.
Ogmios
The Ogmios JSON-RPC bridge to a Cardano node: submit and evaluate
transactions, query the ledger state and follow the chain, over WebSocket or
HTTP.
Works with @cardano-ogmios/client and Lucid Evolution's Kupmios.
Kupo
A UTxO index: look up UTxOs by address, credential, policy or pattern, over
HTTP. Works with any HTTP client, and pairs with an Ogmios port in Lucid
Evolution's Kupmios.
UTxO RPC
A gRPC interface for Cardano: stream blocks, follow the tip, watch
transactions that match a pattern, query UTxOs and submit transactions. Works
with @utxorpc/sdk and any gRPC tool, such as grpcurl.
TRP
The Transaction Resolve Protocol for tx3: send a compiled tx3 transaction and
its arguments, and get back a balanced transaction to sign. Works with trix
and tx3-sdk.
Which one do I need?
| If you want to | Use |
|---|---|
| Keep an app written for the Blockfrost API | Blockfrost |
| Read chain data over plain HTTP | Blockfrost |
| Submit or evaluate transactions against a node | Ogmios |
Use Lucid Evolution's Kupmios provider | Ogmios and Kupo, one port each |
| Find UTxOs by address or pattern, fast | Kupo |
| React to new blocks or transactions as they happen | UTxO RPC |
| Build transactions with tx3 | TRP |
The same on every API
Networks. cardano-mainnet, cardano-preprod and cardano-preview. A
port serves one network, chosen when you create it.
Keys. Each port has its own API key, shown on its page in the Console.
Every API reads it from the dmtr-api-key header. Blockfrost, Ogmios and
Kupo also read it from the first label of the host, for clients that cannot
set a header, and Blockfrost reads Blockfrost's own project_id header too.
Keep keys out of source code: the examples in these docs read the key from
the DEMETER_API_KEY environment variable.
Tiers and limits. A port is on the Free tier or on a paid plan (Flexible, Pro I, Pro II), which sets how fast and how much you can call it. Each API's page lists its limits and what a request over a limit answers. TRP is on the Free tier only. Pricing has every plan side by side.
Usage. The Console shows each port's usage against its limits. On Flexible you pay for what you used, with no minimum fee, so an idle port costs $0.
Availability. Ports on a paid plan carry the availability commitment in
the Terms of Service. Current status and incidents:
https://demeter.statuspage.io.
For agents and scripts
Every page of these docs is also plain Markdown: add .md to its address
(/docs/blockfrost.md), or ask for text/markdown. /llms.txt lists them
all.