API Reference

API Reference

The public routes of the Bazantic API, and the links to its full OpenAPI reference.

The Bazantic API serves the public catalog of gateways and Recipes. Its base URL is https://api.bazantic.com.

Read the full reference

The API builds both from the route code, so the reference agrees with the routes that the API serves.

Public routes

These routes need no API key. An anonymous call sees active gateways and published Recipes only.

MethodPathPurpose
GET/v1/gatewaysList the active gateways. expanded=true adds the methods of each gateway.
GET/v1/gateways/{slug}Get one active gateway.
GET/v1/gateways/{slug}/methodsList the methods of one active gateway.
GET/v1/gateways/{slug}/specGet the OpenAPI or OpenRPC document of one gateway. The answer can be a redirect to the spec URL of the provider.
GET/v1/recipesList the published Recipes.
GET/v1/recipes/{handle}Get one published Recipe.
POST/mcpThe public Recipe MCP server. It answers initialize and tools/list. It does not run a Recipe.
GET/healthReport that the API is up.

The gateway routes answer 304 Not Modified to a request with a current If-Modified-Since header.

Routes that need a credential

MethodPathCredential
POST/control-mcpA CLI session from baz login. The Recipe tools and the gateway discovery tools use this route.

See Recipe tools in an MCP client for the control tools. The reference at /docs also lists the routes that need an API key.

To run a published Recipe, call it through its paid gateway. See Wire in the Recipe catalog.