Back

    Buyamia Directory API

    v1.1.0

    Agent Gateway

    A natural-language interface over the same directory data, for AI agents that should not hand-assemble REST calls. It is a separate function with its own base URL and requires the agent.query scope.

    Base URLtext
    https://rjpxllsycikfabazvkdh.supabase.co/functions/v1/agent-gateway

    Authenticate with the same X-API-Key header. Data returned is subject to the same public-only visibility rules as the REST API unless the key carries the internal scopes.

    MCP server

    A Model Context Protocol server (directory-mcp) exposes directory search and lookup as MCP tools for agent runtimes. Product responses there use the same product_pricing_tiers field name as the REST API.

    Everything reachable here is also reachable over REST. Use the Agent Gateway when your client is an LLM agent; use REST for deterministic integrations.

    Current as of API 1.1.0 — released 7 September 2026