Skip to main content

API Reference

This section is auto-generated from the OneSource OpenAPI 3.1 spec served at https://api.onesource.io/openapi.json.

Regenerate locally with:

npm run gen-api

That command runs docusaurus-plugin-openapi-docs against the spec (or the committed snapshot in openapi-snapshot.json if you're offline) and writes one MDX page per endpoint into this folder, grouped by tag.

Tag groups

OneSource tags operations along several axes: blockchain, ethereum, onesource, rpc, live-data, plus narrower domain tags (token, smart-contract, ens, identity, erc20, …). The generated sidebar groups by the most specific tag.

Payment metadata

Each endpoint carries Bazaar-specific extensions:

  • x-payment-info: price (USDC), payTo address, supported protocols (x402, MPP)
  • x-keywords: search keywords surfaced by the MCP and Bazaar
  • x-use-cases: natural-language examples of when to call this endpoint

The reference pages render these alongside the standard parameter / response tables.

Until the auto-generated pages land

The complete endpoint catalog is also available in machine-readable form at: