the402 endpoint detail

← All endpoints

2s.io food barcode-lookup

https://2s.io/api/food/barcode-lookup

payable

Resolve a food product barcode (UPC, EAN-13, EAN-8, etc.) to structured product metadata via Open Food Facts — the CC0 community-maintained database of >3M food products. Returns product name, brand, ingredient list, allergens, nutriments (per-100g + per-serving), Nutri-Score grade (a-e), NOVA processing classification (1-4), Eco-Score, categories, manufacturing origin, packaging, and product imag

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.003
Network
base
Pay to
0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
78 ms
Payment options
2 usable of 2
Last checked
2026-08-10T09:16:36.791Z (1d ago)
Category
search

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2F2s.io%2Fapi%2Ffood%2Fbarcode-lookup"