Back

    Buyamia Directory API

    v1.0

    Integrations

    The Buyamia Directory offers three integration methods depending on your use case. Choose the one that best fits your system architecture.

    Integration Methods

    MethodBest ForProtocol
    REST API (/v1/*)Traditional backend integration, CRUD operationsHTTP REST + JSON
    Agent GatewayAI agents, chatbots, natural language queriesHTTP POST + JSON
    MCP ServerAI assistants (Claude, ChatGPT), tool-calling agentsMCP Streamable HTTP

    Comparison

    FeatureREST APIAgent GatewayMCP Server
    AuthX-API-KeyX-API-Key or Supabase AuthX-API-Key
    Query formatStructured (params/JSON)Natural languageTool calls (JSON-RPC)
    ResponseRaw dataAI-processed + structuredTool results
    Semantic searchVia /v1/semantic-searchBuilt-inBuilt-in
    Best forDevelopersAI agentsAI assistants

    If you're building a procurement AI agent, start with the Agent Gateway for quick natural language queries, then move to the MCP Server for deeper tool-based integration.

    Last updated on March 15, 2026