CCDExplorer API (Project: ccdexplorer_api)¶
The public API is built on FastAPI, with all data retrieved directly from the node, or from MongoDB helper collections populated by the background services listed in this documentation.
Check the documentation for the Swagger docs for all endpoints.
For information on the schemas, check the grpc page.
Responsibilities¶
- Serve explorer UI requests (accounts, blocks, statistics, project metadata, token holdings).
- Provide authenticated endpoints (API key header) for partners to query advanced statistics and notification settings.
- Orchestrate alias-aware lookups by leveraging canonical IDs from
all_account_addresses.
Dependencies¶
components/grpc_clientfor live Concordium data.- MongoDB collections populated by
heartbeat,ms_indexers,ms_token_accounting, etc. site_usermodels for user preference endpoints.
See the repository under projects/ccdexplorer_api/ for routers, templates, and Dockerfile details.***