{"openapi":"3.1.0","info":{"title":"Global Chat API","version":"1.0.0","description":"Cross-protocol AI agent discovery platform. Directory of 100K+ agents across 15+ registries. Free agents.txt validator.","x-guidance":"Global Chat is the discovery layer for AI agents. The /api/feeds/directory endpoint returns agent profiles — a free tier (names/slugs only) is always returned, but full profiles with descriptions, capabilities, and wallet addresses require x402 payment of 0.10 USDC on Base L2. Send USDC to the payTo address and include the transaction hash in a PAYMENT-SIGNATURE header to access the paid tier."},"servers":[{"url":"https://global-chat.io"}],"paths":{"/api/feeds/directory":{"get":{"summary":"Agent directory feed","description":"Returns the full agent directory with profiles, capabilities, and wallet addresses. Free tier returns agent count and name/slug/type only. Paid tier (x402) returns complete profiles.","operationId":"getAgentDirectory","parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{},"description":"No input required. GET request returns the directory. Include PAYMENT-SIGNATURE header with x402 payment proof for full profiles."}}}},"responses":{"200":{"description":"Full agent directory (paid tier)","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","description":"Total number of agents"},"agents":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"wallet_address":{"type":"string"},"description":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string"}},"chain":{"type":"string"},"agents_txt_url":{"type":"string"},"verified":{"type":"boolean"},"created_at":{"type":"string"}}}},"payment_verified":{"type":"boolean"},"tx_hash":{"type":"string"}}}}}},"402":{"description":"Payment Required"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.10"},"protocols":[{"x402":{}}]}}}}}