Purpose
intelligence-api is a data intelligence API for AI agents that aggregates three types of e-commerce and business data—Shopify, Amazon, and Google Maps—for store analysis, product opportunity evaluation, and sales lead mining. Its core feature is a pay-per-call model based on the x402 protocol, suitable for scenarios where agents call it autonomously without needing to manually open an account or manage keys.
Main Capabilities
Shopify
- GET /shopify/analyze: Analyzes a specified Shopify store, returning the product catalog, price distribution, popular vendors, product types, detected third-party apps (such as Klaviyo, Yotpo, ReCharge, etc.), and theme information. Parameter
urlis required, for exampleexample.myshopify.com. - GET /shopify/products: Retrieves the product catalog with pagination, up to 250 products per call. Parameter
page(optional, default 1),limit(optional, default 50, maximum 250).
Amazon
- GET /amazon/search: Searches Amazon products, returning an Opportunity Score of 0-100 for each result. A higher score indicates strong demand, a clear quality gap, and an appropriate price range. Parameter
keywordis required;marketplaceis optional (US | UK | DE | CA | AU, default US). - GET /amazon/product: Performs an in-depth analysis of a single ASIN, including FBA fee and profit estimates. Parameter
asinis required (10-digit product ID);marketplaceis optional (default US).
The opportunity scoring formula includes: review count >1000 (verified demand) +15; rating <4.0 (fillable quality gap) +8–15; price $15–$60 (mass-market sweet spot) +10; Prime eligibility +5.
Google Maps
- GET /maps/search: Searches Google Maps businesses and gives each business a sales lead score. Parameter
queryis required (business type, such as coffee shops),locationis required (city/region, such as Austin TX),maxis optional (default 20, maximum 60),google_keyis required (your own Google Places API key). - GET /maps/leads: Returns only businesses with a quality score above the threshold, sorted by score, suitable for building targeted outreach lists. Parameter
industryis required,locationis required,min_scoreis optional (default 60),google_keyis required.
The lead quality scoring formula includes: has a website +20; rating <4.0 +8–15; review count >50 +10–15; price level ≥2 +10; business status is OPERATIONAL +10.
Usage
Payment Mechanism
x402 is a protocol that uses HTTP 402 to implement machine-native micropayments, with no account, no rate-limiting key, and no billing system. Agents pay per call in USDC on the Base chain. An agent needs a funded Base wallet and must hold USDC. USDC settles directly to the server wallet, with no intermediary and no custody.
Payment Flow (Technical Details)
When an agent initiates an unpaid request: the server returns a 402 response; the agent signs a TransferWithAuthorization (ERC-3009) for the USDC amount; then carries X-PAYMENT: <base64-encoded-signed-authorization> Retry at the head; the server verifies the signature on-chain and returns a response; USDC settles atomically to WALLET_ADDRESS on the Base mainnet.
Free Endpoints
- GET /health
- GET /.well-known/mcp.json
- GET /openapi.json
Google Places API Key
The Maps endpoints require users to provide their own Google Places API key (the server does not store this key): go to console.cloud.google.com, create or select a project, enable the Places API, create an API key under APIs & Services → Credentials, and in every Maps request pass it as ?google_key=YOUR_KEY .
Agent Discovery
Agents can discover x402-enabled APIs via x402scan, and the server returns the correct x402 headers in every 402 response./.well-known/mcp.json returns an MCP plugin manifest pointing to /openapi.json , compatible with the ChatGPT plugin discovery format.
Running the Server
The documentation lists environment variables and how to run it, but does not provide the specific variable names or the complete command contents.
Use Cases
- AI agents autonomously complete e-commerce market research and product selection analysis.
- Analyze the product structure and tech stack of competitor Shopify stores.
- Evaluate Amazon product opportunities and FBA profit margins.
- Build sales lead lists based on Google Maps business data.
Limitations
- Paid endpoints require agents to hold a funded Base wallet and USDC.
- Maps endpoints require your own Google Places API key.
- Error responses uniformly return JSON, but the documentation does not list specific error codes.
- The specific environment variables and installation commands for running the server are not fully provided in the documentation.