Overview
The API serves the same catalog, content and pricing engine that power inkgility.com. Base URL: https://dev.inkgility.com/api/v1. Every response is JSON in a {"data": ..., "meta": ...} envelope; errors come back as {"error": {"code": ..., "message": ...}}.
The machine-readable contract is the OpenAPI 3.1 document.
Endpoints
GET /api/v1/productsand/products/{slug}: filter bysearch,category,tier,sortand facets; page withcursorandper_page(max 50).GET /api/v1/categories: the category tree.GET /api/v1/templates: design templates.GET /api/v1/articlesand/articles/{slug}: the blog.GET /api/v1/quote?product=business-cards&quantity=250: a live price quote. Optionaloptions[material]=1style overrides pick another choice. Excludes shipping and tax.
Example
curl 'https://dev.inkgility.com/api/v1/quote?product=business-cards&quantity=250'
Caching, CORS and limits
Responses carry an ETag and Cache-Control: public; send If-None-Match to get a 304. Any origin may call the API from a browser. Each endpoint is rate limited per client; a 429 includes Retry-After. Every response carries X-Api-Version.
For AI agents
Agents can also use the MCP server or read llms.txt. Quotes from the API and the MCP get_price_quote tool come from the same engine and match.