Skip to content
Log inStart free

Tanqory API reference

Every call your app can make

1,627 operations across the Admin, Store and AI APIs, in 181 groups, generated from the OpenAPI documents the services publish. One Bearer token opens all three.

GET/api/v1/storesAuthorization: Bearer $TANQORY_API_KEY
  • Admin API292 operationsapi.tanqory.comStoresBillingSubscriptionsCustom DomainsList all stores for authenticated user
  • Store API1,335 operationsapi.tanqory.comOrdersProductsInventoryCustomers

Core concepts

What holds for every call

The three APIs share one token, one error shape and one way to retry, so code you write for one works for the others.

  • AuthenticationOne JSON Web Token from the Admin API identity service is accepted by the Admin, Store and AI APIs. Send it as a Bearer header.
  • Base URLsThe Admin and Store APIs share one host, api.tanqory.com, which routes a store's calls to the store's region; AI is the MCP server on the same host, at /v1/mcp.
  • ErrorsEvery error is one error object with a stable code to switch on, the status, the field at fault and a request ID for support.
  • Rate limitsOn 429 or 503, wait for Retry-After when it is sent, otherwise back off with jitter and try again.
  • VersioningThe Admin and Store APIs carry their version in the path, /api/v1, and keep serving it unchanged when a new version arrives.
  • PaginationList endpoints declare their own limit and offset or page parameters in the reference; read them on each operation.
error.json400 Bad Request
{  "error": {    "type": "validation_error",    "code": "validation_failed",    "title": "Please check your input",    "message": "Some fields need attention before you can continue.",    "status": 400,    "param": "email",    "errors": [      { "field": "email", "code": "invalid_type", "message": "Required" }    ],    "request_id": "e7cab0b72a2507b9953f4d1d3afb092f",    "instance": "/api/v1/auth/register"  }}

Store data

Read and write a store

Your app signs in once, finds the stores it may work on in the Admin API, then reads and writes each store's catalog, orders and stock on the same host.

  • Admin APIAccounts, stores, members and roles, billing, subscriptions and custom domains, on api.tanqory.com.292 operations
  • Store APIProducts, orders, inventory, customers, discounts, taxes, shipping and the storefront cart and checkout, on api.tanqory.com with the store in the path.1,335 operations
  • Storefront GraphQLProducts, prices and stock for a storefront in one query, at POST /v1/stores/{storeId}/graphql on api.tanqory.com.
list-products.sh
# First, the Admin API knows every store you may work oncurl https://api.tanqory.com/v1/stores \  -H "Authorization: Bearer $TANQORY_API_KEY"# Then call the Store API for that store, on the same hostcurl https://api.tanqory.com/v1/stores/$STORE_ID/products \  -H "Authorization: Bearer $TANQORY_API_KEY"

AI in your app

Give your app the assistant merchants use

Tanqory AI reaches your app through the Tanqory MCP server: the assistant merchants use, with chat that knows the store, search by meaning, product images and the knowledge base. It signs in with OAuth 2.1, not an API key.

  • ChatTalk with the store's assistant in a conversation that keeps its context, streamed or in one answer.
  • SearchHybrid, semantic or keyword search over your own content.
  • Knowledge BaseStore articles and categories the assistant answers from.
  • Image GenerationProduct shots and banners from a prompt, saved to the store's media.
  • AI Image EditRemove a background or edit an image with a sentence.
  • EmbeddingsVectors for text, one at a time or in batches.
  • MCP serverConnect Claude and other AI assistants to a store through the Tanqory MCP server, with secure sign-in, and let them act from there.
connect-mcp.sh200 OK
curl https://api.tanqory.com/v1/mcp \  -H "Authorization: Bearer $OAUTH_ACCESS_TOKEN" \  -H "Content-Type: application/json" \  -H "Accept: application/json, text/event-stream" \  -d '{    "jsonrpc": "2.0",    "id": 1,    "method": "initialize",    "params": {      "protocolVersion": "2025-06-18",      "capabilities": {},      "clientInfo": { "name": "my-app", "version": "1.0" }    }  }'

MCP over streamable HTTP at api.tanqory.com/v1/mcp. Without a token it answers 401 and names its OAuth metadata.

Tools

Set up in minutes

Get a key, try any operation in the browser, then move to code with the SDK or let your coding agent drive the CLI.

  • QuickstartCreate a key, export it as TANQORY_API_KEY and make your first call.
  • WorkbenchPick any operation in the reference, fill its fields and send it from the browser.
  • TypeScript SDK@tanqory/sdk, generated from the same OpenAPI documents, for browsers, Node.js and React Native, with React hooks.
  • Tanqory CLIBuilt for coding agents such as Claude Code: sign in, scaffold a theme and run it on live store data.
pampa: zsh
sofia@pampa ~/pampa % npm install @tanqory/sdkadded @tanqory/sdksofia@pampa ~/pampa % export TANQORY_API_KEY="your_key_here"sofia@pampa ~/pampa % curl https://api.tanqory.com/v1/stores -H "Authorization: Bearer $TANQORY_API_KEY"{ "data": [ { "name": "Pampa Mate Co.", "subdomain": "pampa-mate" } ] }sofia@pampa ~/pampa % 

Every group

Browse the whole reference

Each group opens its operations with their parameters, request bodies and responses, straight from the spec.

Admin API292 operations, 35 groups
Store API1,335 operations, 146 groups

Make your first call today

Open a store, create a key and list your stores in one request. AI is part of every plan.

  • One Bearer token for every API
  • Generated from the OpenAPI spec
  • SDK, CLI and MCP server