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
- Connect ā Agents connect via MCP (stdio or HTTP)
- Discover ā Agent calls
list_tools()ā sees 20 tools - Pay ā Agent calls
generate_invoice+check_balancefor crypto payment - Use ā Agent calls any API tool, credits auto-deduct
Revenue Model
| Channel | How It Makes Money | Status |
|---|---|---|
| š¤ AI Agents via MCP | Agents discover tools ā generate invoice ā send USDC ā use APIs | ā LIVE |
š¤ AI Agents via .well-known/ai-plugin.json | OpenAI GPT Agents auto-discover APIs | ā LIVE |
| RapidAPI Marketplace | $29ā$199/mo subscriptions | š¦ Ready ā needs RapidAPI provider account |
| Apify Store | Per-run pricing | š¦ Ready, not published |
| api.market | Global API marketplace | š¦ Ready (Redis issues) |
š API Inventory ā 17 APIs + 3 Payment Tools
š„ļø Website Intelligence (167.71.22.95) ā 10 APIs
| # | MCP Tool | API | Description | Price |
|---|---|---|---|---|
| 1 | website_to_markdown | Website ā Markdown | Convert any web page to clean Markdown | $0.0005 |
| 2 | website_metadata | Website Metadata | Meta tags, OG, Twitter Cards, headings, images, favicon | $0.0002 |
| 3 | technology_detector | Technology Detector | CMS, frameworks, analytics, CDN, server tech | $0.0003 |
| 4 | contact_extractor | Contact Extractor | Emails, phones, social links, addresses | $0.0005 |
| 5 | ai_website_summary | AI Website Summary | Structured summary + optional AI narrative | $0.002 |
| 6 | opengraph_extractor | OpenGraph Extractor | OG tags, Twitter Cards, social preview data | $0.0002 |
| 7 | robots_txt_parser | Robots.txt Parser | Crawl rules, disallowed paths, sitemap URLs | $0.0002 |
| 8 | sitemap_parser | Sitemap Parser | Discover & parse XML sitemaps | $0.0005 |
| 9 | ssl_checker | SSL Checker | Certificate details, expiry, security grade | $0.0002 |
| 10 | dns_lookup | DNS Lookup | A, 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 Tool | API | Description | Price |
|---|---|---|---|---|
| 11 | marketing_contact_extractor | Marketing Contact Extractor | Emails, phones, social profiles, address | $0.0005 |
| 12 | google_maps_reviews | Google Maps Reviews | Ratings, reviews, business metadata by Place ID or search | $0.001 |
| 13 | business_metadata | Business Metadata | Category, founding year, hours, certifications, payments | $0.0003 |
| 14 | seo_audit | SEO Audit | On-page SEO analysis with scoring (0ā100) | $0.0005 |
| 15 | ai_company_summary | AI Company Summary | AI-powered business overview + narrative | $0.002 |
| 16 | marketing_technology_detector | Technology Detector | CMS, frameworks, analytics, hosting | $0.0003 |
| 17 | citation_checker | Citation Checker | Directory presence across 10+ platforms + NAP scoring | $0.001 |
Payment: Solana USDC ($USDC on Solana mainnet)
š° Payment/Management Tools ā Free
| # | MCP Tool | Description |
|---|---|---|
| 18 | get_pricing | Get current pricing for all APIs |
| 19 | generate_invoice | Generate Solana USDC payment invoice |
| 20 | check_balance | Check 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
| Plan | Requests/sec | Daily Limit | Price |
|---|---|---|---|
| Free | 2 | 100 | $0 |
| Starter | 10 | 5,000 | $29/mo |
| Growth | 30 | 25,000 | $79/mo |
| Enterprise | 100 | 100,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:
| Marketplace | Guide | Status |
|---|---|---|
| OpenAI GPT Store | docs/gpt-store-guide.md | š Step-by-step |
| RapidAPI | docs/rapidapi-publish-guide.md | š Upload-ready spec + copy |
| Apify Store | See Apify console links below | š“ Needs Store terms accepted |
| api.market | Pre-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 + memoPOST /api/v1/payments/verifyā verify payment ā add creditsPOST /api/v1/payments/balanceā check balanceGET /api/v1/payments/pricingā per-endpoint pricing
| Droplet | Current Wallet |
|---|---|
| Website Intel | 8x2z3F4G5H6J7K8L9M0N1P2Q3R4S5T6U7V8W9X0Y (placeholder) |
| Marketing Bundle | 8x2z3F4REPLACE_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:
| Endpoint | Description |
|---|---|
/.well-known/ai-plugin.json | OpenAI GPT Actions manifest |
/.well-known/openapi.json | OpenAPI spec for AI consumption |
/api/v1/payments/pricing | Per-endpoint USDC pricing |
/health | Health check (no auth) |
/status | Component status (no auth) |
š Monitoring
| Endpoint | Description | Auth |
|---|---|---|
GET /health | Service health check | None |
GET /status | Component status (cache, auth, payments) | None |
GET /metrics | Operational metrics (P50/P95/P99, cache hit rate) | Admin key |
GET /dashboard | Usage dashboard HTML | Admin 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.