All APIs Gateway

Web-intelligence API gateway: 17 APIs as 20 MCP tools for SEO and scraping. Pay-per-call via USDC.

Documentation

API Gateway — 17 APIs for AI Agents

Single MCP server exposing 17 production APIs across two droplets.


šŸš€ What This Is

An MCP (Model Context Protocol) server that wraps 17 real, deployed APIs into MCP tools. Any AI agent with MCP support can discover, call, and pay for these APIs programmatically.

How AI Agents Use It

  1. Connect — Agents connect via MCP (stdio or HTTP)
  2. Discover — Agent calls list_tools() → sees 20 tools
  3. Pay — Agent calls generate_invoice + check_balance for crypto payment
  4. Use — Agent calls any API tool, credits auto-deduct

Revenue Model

ChannelHow It Makes MoneyStatus
šŸ¤– AI Agents via MCPAgents discover tools → generate invoice → send USDC → use APIsāœ… LIVE
šŸ¤– AI Agents via .well-known/ai-plugin.jsonOpenAI GPT Agents auto-discover APIsāœ… LIVE
RapidAPI Marketplace$29–$199/mo subscriptionsšŸ“¦ Ready — needs RapidAPI provider account
Apify StorePer-run pricingšŸ“¦ Ready, not published
api.marketGlobal API marketplacešŸ“¦ Ready (Redis issues)

šŸ“‹ API Inventory — 17 APIs + 3 Payment Tools

šŸ–„ļø Website Intelligence (167.71.22.95) — 10 APIs

#MCP ToolAPIDescriptionPrice
1website_to_markdownWebsite → MarkdownConvert any web page to clean Markdown$0.0005
2website_metadataWebsite MetadataMeta tags, OG, Twitter Cards, headings, images, favicon$0.0002
3technology_detectorTechnology DetectorCMS, frameworks, analytics, CDN, server tech$0.0003
4contact_extractorContact ExtractorEmails, phones, social links, addresses$0.0005
5ai_website_summaryAI Website SummaryStructured summary + optional AI narrative$0.002
6opengraph_extractorOpenGraph ExtractorOG tags, Twitter Cards, social preview data$0.0002
7robots_txt_parserRobots.txt ParserCrawl rules, disallowed paths, sitemap URLs$0.0002
8sitemap_parserSitemap ParserDiscover & parse XML sitemaps$0.0005
9ssl_checkerSSL CheckerCertificate details, expiry, security grade$0.0002
10dns_lookupDNS LookupA, AAAA, MX, NS, CNAME, TXT, subdomain discovery$0.0002

Payment: Solana USDC ($USDC on Solana mainnet)

šŸ“Š Marketing API Bundle (64.227.2.61) — 7 APIs

#MCP ToolAPIDescriptionPrice
11marketing_contact_extractorMarketing Contact ExtractorEmails, phones, social profiles, address$0.0005
12google_maps_reviewsGoogle Maps ReviewsRatings, reviews, business metadata by Place ID or search$0.001
13business_metadataBusiness MetadataCategory, founding year, hours, certifications, payments$0.0003
14seo_auditSEO AuditOn-page SEO analysis with scoring (0–100)$0.0005
15ai_company_summaryAI Company SummaryAI-powered business overview + narrative$0.002
16marketing_technology_detectorTechnology DetectorCMS, frameworks, analytics, hosting$0.0003
17citation_checkerCitation CheckerDirectory presence across 10+ platforms + NAP scoring$0.001

Payment: Solana USDC ($USDC on Solana mainnet)

šŸ’° Payment/Management Tools — Free

#MCP ToolDescription
18get_pricingGet current pricing for all APIs
19generate_invoiceGenerate Solana USDC payment invoice
20check_balanceCheck credit balance for an API key

šŸ”§ Quick Start

For AI Agents (MCP-native)

Configure the MCP server in your agent:

{
  "mcpServers": {
    "all-apis-gateway": {
      "command": "python3",
      "args": ["/path/to/mcp_server.py"],
      "env": {
        "WEBSITE_INTEL_BASE": "http://167.71.22.95",
        "WEBSITE_INTEL_KEY": "YOUR_WEBSITE_INTEL_KEY",
        "MARKETING_BUNDLE_BASE": "http://64.227.2.61",
        "MARKETING_BUNDLE_KEY": "YOUR_MARKETING_KEY"
      }
    }
  }
}

For Developers (REST APIs directly)

Website Intelligence:

# Get an admin key (one-time)
curl -X POST http://167.71.22.95/api/v1/auth/generate-key \
  -H "Content-Type: application/json" \
  -d '{"name":"my-app","tier":"admin"}'

# Call an API
curl -X POST http://167.71.22.95/api/v1/dns-lookup \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain": "example.com"}'

# Get pricing
curl http://167.71.22.95/api/v1/payments/pricing

# Generate payment invoice
curl -X POST http://167.71.22.95/api/v1/payments/invoice \
  -H "Content-Type: application/json" \
  -d '{"api_key": "YOUR_KEY", "amount_usdc": 5.0}'

Marketing Bundle:

curl -X POST http://64.227.2.61/api/v1/contact-extractor \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'

šŸ’³ Crypto Payment Flow

Both API bundles accept Solana USDC for AI agents.

ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│  Payment Flow                                 │
│                                               │
│  1. Agent: POST /payments/invoice             │
│     → Gets: {wallet_address, memo}            │
│                                               │
│  2. Agent: Send USDC to wallet + memo         │
│     (On Solana mainnet)                       │
│                                               │
│  3. Agent: POST /payments/verify              │
│     → Credits added to API key                │
│                                               │
│  4. Agent: Call any API with X-API-Key        │
│     → Credits auto-deduct per call            │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜

Treasury Wallet: Configured on the droplet (set TREASURY_WALLET env var)

Token: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v (Solana USDC)


šŸ“Š Rate Limits

PlanRequests/secDaily LimitPrice
Free2100$0
Starter105,000$29/mo
Growth3025,000$79/mo
Enterprise100100,000$199/mo

šŸ— Architecture

MCP Client (Claude Code, Cline, Hermes, any MCP agent)
    │
    ā–¼
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│  MCP Server (api-gateway)    │
│  - 20 tools                  │
│  - Auth injection            │
│  - Error handling            │
│  - Pricing/cost display      │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
       │
       ā”œā”€ā”€ā†’ 167.71.22.95: Website Intelligence (10 APIs + payments)
       │       POST /api/v1/{endpoint}
       │       POST /api/v1/payments/{invoice,verify,balance,pricing}
       │       GET  /.well-known/ai-plugin.json
       │
       └──→ 64.227.2.61: Marketing API Bundle (7 APIs + payments)
               POST /api/v1/{endpoint}
               POST /api/v1/payments/{invoice,verify,balance,pricing}
               GET  /.well-known/ai-plugin.json

šŸ“¦ Marketplace Publishing Guides

Ready-to-use docs for registering on each platform:

MarketplaceGuideStatus
OpenAI GPT Storedocs/gpt-store-guide.mdšŸ“ Step-by-step
RapidAPIdocs/rapidapi-publish-guide.mdšŸ“ Upload-ready spec + copy
Apify StoreSee Apify console links belowšŸ”“ Needs Store terms accepted
api.marketPre-prepared OpenAPI specs at /home/node/api-market-specs/šŸ”“ Redis outage

šŸŖ™ Solana USDC Payments

Docs: docs/setup-wallet.md

Both droplets accept Solana USDC (token EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v):

  • POST /api/v1/payments/invoice — generate wallet + memo
  • POST /api/v1/payments/verify — verify payment → add credits
  • POST /api/v1/payments/balance — check balance
  • GET /api/v1/payments/pricing — per-endpoint pricing
DropletCurrent Wallet
Website Intel8x2z3F4G5H6J7K8L9M0N1P2Q3R4S5T6U7V8W9X0Y (placeholder)
Marketing Bundle8x2z3F4REPLACE_WITH_YOUR_REAL_SOLANA_WALLET (placeholder)

See docs/setup-wallet.md to replace with your real Solana wallet.

🌐 AI Agent Discovery Endpoints

Both droplets expose AI agent discovery files:

EndpointDescription
/.well-known/ai-plugin.jsonOpenAI GPT Actions manifest
/.well-known/openapi.jsonOpenAPI spec for AI consumption
/api/v1/payments/pricingPer-endpoint USDC pricing
/healthHealth check (no auth)
/statusComponent status (no auth)

šŸ“ˆ Monitoring

EndpointDescriptionAuth
GET /healthService health checkNone
GET /statusComponent status (cache, auth, payments)None
GET /metricsOperational metrics (P50/P95/P99, cache hit rate)Admin key
GET /dashboardUsage dashboard HTMLAdmin key

šŸ” Authentication

  • Header: X-API-Key: <your-key> (recommended)
  • Bearer: Authorization: Bearer <your-key>
  • Query param: ?api_key=<your-key>

Tiers: free, starter, growth, enterprise, admin


šŸ“œ License

Private — Samay Vashisht. All APIs and code proprietary.