$0.002 per call20 free calls/day via MCP
Use when an agent has a product barcode (EAN/UPC) or product name and needs what it is: name, brand, quantity, categories, ingredients, allergens, Nutri-Score, NOVA processing level, nutrition per 100 g and image. Food, drinks and cosmetics, worldwide. Under 2 s.
Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool barcode:
{
"name": "barcode",
"arguments": {
"barcode": "3017620422003"
}
}
curl -X POST https://www.aypiai.online/api/barcode \
-H "Content-Type: application/json" \
-H "X-Access-Key: YOUR_CREDIT_KEY" \
-d '{"barcode":"3017620422003"}'
No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.002 and retries automatically. Works with any x402 wallet: Base MCP, Coinbase AgentKit, x402-fetch / x402-axios, Cloudflare Agents. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.
{
"type": "object",
"properties": {
"barcode": {
"type": "string",
"description": "EAN-13, EAN-8 or UPC"
},
"query": {
"type": "string",
"description": "Or search by product name"
}
},
"required": []
}
{
"barcode": "3017620422003",
"name": "Nutella",
"brand": "Ferrero",
"quantity": "400 g",
"nutriScore": "e",
"nova": 4,
"allergens": [
"milk",
"nuts",
"soybeans"
],
"nutritionPer100g": {
"energyKcal": 539,
"sugars": 56.3,
"fat": 30.9,
"salt": 0.107
}
}
Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402