What is AgentAPIGate
AgentAPIGate is a unified real-time web data API and Remote MCP gateway for apps and AI agents. It provides 300+ structured live endpoints across search, social media, e-commerce, travel, jobs, and GitHub, accessible with one API key. The service offers clean REST JSON for developers, compact Markdown output that reduces token usage by 60–88%, and MCP integration for AI agents. Billing is pay-as-you-go with no monthly subscriptions, and credits never expire. It also supports x402 USDC payments on Base and Solana for wallet-native agents.
How to use AgentAPIGate
- Get an API key: Sign up with Google to obtain a bearer key (format:
aag_live_*). - Connect via your preferred method:
- REST API: Make HTTP requests to endpoints like
https://api.agentapigate.ai/v1/search/google/webwith your API key in theAuthorizationheader. - Remote MCP: Add the MCP server to Cursor (1-click OAuth) or Claude Code using the command:
claude mcp add --transport http agentapigate https://mcp.agentapigate.ai/mcp. - x402 USDC: Wallet-native agents can pay per request on-chain without signup.
- REST API: Make HTTP requests to endpoints like
- Customize responses: Append
?format=compactfor compact JSON or?format=mdfor agent-optimized Markdown to reduce token usage. - Control costs: Use
?dry_run=1for a pre-flight quote, setX-AAG-Max-Costheader for per-request cost limits, and create scoped sub-keys with daily USD caps. - Explore endpoints: Browse the live directory of 300+ APIs across 8 packs (X/Twitter, Search & Web, Social & Video, Commerce & Ads, LinkedIn/B2B/Trade, Finance & Crypto, Maps & Reviews, Dev/AI/Security).
Features of AgentAPIGate
- 300+ live endpoints across 8 packs, including X/Twitter, search, social media, e-commerce, travel, jobs, and GitHub.
- Compact JSON & Markdown output: Reduces token usage by 60–88% (e.g.,
?format=mdcuts tokens by up to 93% for tweet searches). - Remote MCP gateway: One-click OAuth integration with Cursor and Claude Code.
- x402 USDC billing: Pay-per-request on Base and Solana for wallet-native agents.
- Deterministic safety: Scoped sub-keys with hard daily USD caps, pack allowlists, and automatic hold release for empty results or upstream errors ($0.00 charged).
- Pre-flight cost quotes: Use
?dry_run=1to estimate costs before execution. - Balance never expires: Pay-as-you-go credits with no monthly fees.
- High throughput: Up to 600 RPM priority routing on higher tiers.
Use Cases of AgentAPIGate
- AI agent tool integration: Connect Claude, Cursor, or custom agents to real-time web data via MCP for tasks like search, social media monitoring, and data retrieval.
- Real-time search: Query Google search results, YouTube transcripts, and X/Twitter posts with structured JSON.
- Content extraction: Convert URLs to Markdown for clean text extraction.
- Social media analysis: Fetch tweet details, replies, quotes, retweeters, and threads for sentiment analysis or engagement tracking.
- E-commerce and travel data: Access product listings, pricing, and travel information from live endpoints.
- Financial and crypto data: Retrieve SEC filings, stock data, and cryptocurrency information.
- Developer workflows: Integrate GitHub repository data, job postings, and B2B information into applications.
FAQ
What is the difference between REST, MCP, and x402?
REST provides standard JSON APIs for developers; MCP is a protocol for AI agents (e.g., Claude, Cursor) to access tools; x402 enables on-chain USDC payments per request for wallet-native agents.
How does compact Markdown reduce token usage?
Appending ?format=md projects only essential fields, stripping verbose metadata. For example, a tweet search fixture drops from 37,993 tokens to 2,727 tokens (-93%).
Can I control costs for agent loops?
Yes. Create scoped sub-keys with hard daily USD caps, use ?dry_run=1 for pre-flight quotes, and set X-AAG-Max-Cost headers. Empty results or upstream errors release holds with $0.00 charged.
Do credits expire?
No, all purchased credits never expire.
What payment methods are supported?
Credit/debit cards for prepaid credits, and x402 USDC on Base and Solana for pay-per-request.
Is there a free trial?
Yes, you can start free with Google and get a free try on the live playground.




