78trust / 100

Deliveroo Com Menu

by Deliveroo Restaurants and Menu P in Other

x402 APIPassing, checked 10 h ago

Deliveroo Restaurants and Menu Prices: Menu items, fees and reviews for one restaurant. Restaurant and optional menu-item or review rows from a Deliveroo menu URL, restaurant slug or startUrls. $0.0030/row USDC, up to 1 rows per call; 0-row and failed calls are never charged.

POST
https://x402.opendata.best/s/deliveroo-com/v1/menu
Price
$0.003
per call in USDC
Uptime
100%
last 30 days
Response time
126 ms
135 ms slowest 5%
Last check
Passed
10 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://x402.opendata.best/s/deliveroo-com/v1/menu

Each call costs $0.003 in USDC on Polygon, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://x402.opendata.best/s/deliveroo-com/v1/menu
content-type: application/json

{
  "includeMenuItems": true,
  "market": "uk",
  "maxResults": 1,
  "menuUrl": "https://deliveroo.co.uk/menu/london/islington/cay-tre"
}

Parameters

ParameterTypeRequiredDescription
citySlugstringNoCity as it appears in Deliveroo links, e.g. london, paris, dubai. With neighborhood and geohash it lists the restaurants delivering there; alone it lists the city page.
geohashstringNoDelivery location geohash, e.g. gcpvjmebpbm2 (London, Islington). Needed with city and neighborhood for restaurants.
includeFeesbooleanNoInclude available delivery, service, and small-order fee labels on UK menu rows. Off by default. Default: false.
includeMenuItemsbooleanNoAdd each menu item as a separately billed row when reading a menu page. Off by default; restaurant and item rows share maxResults. Default: false.
includeReviewsbooleanNoAdd public restaurant reviews as separately billed rows when reading a menu or restaurant page. Off by default; restaurant, menu-item, and review rows share maxResults. Default: false.
marketstringNoDeliveroo country-site code. The locale field is an alias; gb maps to uk. A selectable market does not guarantee live page availability. One of: uk, ie, fr, be, it, es, nl, ae, kw, sg, hk. Default: "uk".
maxMenuItemsPerRestaurantintegerNoMaximum menu-item rows for one restaurant. Restaurant and item rows still share maxResults; this setting does not increase that limit. Default: 25.
maxResultsintegerNoMost rows for each location search or start URL. Default 70; larger numbers are collected in parts of 70. Restaurant and menu-item rows count together. The whole run stops at your maximum total charge. Free platform plan: up to 200 rows per run and 10 runs of this Actor (limits set by the Actor dev… Default: 5.
maxReviewsPerRestaurantintegerNoMaximum review rows for one restaurant. Shares maxResults with restaurant and menu-item rows. Default: 20.
menuUrlstringNoFull Deliveroo restaurant menu URL. Use this instead of supplying citySlug, neighborhoodSlug, and restaurantSlug separately.
modestringNoUse Auto to select a mode from the target fields you fill. Choose an explicit mode only when you want to override that selection. Market contact info (countryInfo) needs no other fields: it returns one support-contact row per Deliveroo market, all 15 markets by default unless capped by maxResults. One of: menu, startUrls. Default: "menu".
neighborhoodSlugstringNoNeighborhood as it appears in Deliveroo links, e.g. islington. Needed with city and geohash for restaurants, and with city and restaurant name for a menu.
restaurantSlugstringNoRestaurant identifier from its Deliveroo menu URL, such as cay-tre. For menu mode, also supply the correct city and neighborhood.
reviewSortstringNoSort order for collected restaurant reviews when Include reviews is enabled. One of: newest, oldest, highest_rated, lowest_rated. Default: "newest".
startUrlsarray of stringNoDeliveroo links: restaurant lists, menus, city, cuisine, brand or zone pages. Each link is one input with its own maxResults.

Example response

The provider's example. We can't check it without paying.

Example response, 30 lines
{
  "done": true,
  "jobId": "job_delivero_example",
  "meta": {
    "endpoint": "menu",
    "maxResults": 5,
    "payment": {
      "network": "eip155:8453",
      "quotedMicrousd": 15000,
      "scheme": "upto",
      "settledMicrousd": 3000,
      "transaction": "0x0000000000000000000000000000000000000000000000000000000000000000"
    },
    "site": "deliveroo-com"
  },
  "rowCount": 1,
  "rows": [
    {
      "drnId": "example_drnId",
      "id": "example_001",
      "itemType": "example_itemType",
      "market": "example_market",
      "rowType": "example_rowType",
      "title": "example_title"
    }
  ],
  "rowsBilled": 1,
  "rowsDelivered": 1,
  "status": "succeeded"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.

The code pays $0.003 in USDC on Base instead: it uses a payment scheme other than exact, which needs a different client setup.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://x402.opendata.best/s/deliveroo-com/v1/menu' \
  -H 'content-type: application/json' \
  --data-raw '{"includeMenuItems":true,"market":"uk","maxResults":1,"menuUrl":"https://deliveroo.co.uk/menu/london/islington/cay-tre"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://x402.opendata.best/s/deliveroo-com/v1/menu' \
  -H 'content-type: application/json' \
  --data-raw '{"includeMenuItems":true,"market":"uk","maxResults":1,"menuUrl":"https://deliveroo.co.uk/menu/london/islington/cay-tre"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.opendata.best%2Fs%2Fdeliveroo-com%2Fv1%2Fmenu&method=POST
const res = await pay("https://x402.opendata.best/s/deliveroo-com/v1/menu", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "includeMenuItems": true,
    "market": "uk",
    "maxResults": 1,
    "menuUrl": "https://deliveroo.co.uk/menu/london/islington/cay-tre"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://x402.opendata.best/s/deliveroo-com/v1/menu",
        json={
            "includeMenuItems": True,
            "market": "uk",
            "maxResults": 1,
            "menuUrl": "https://deliveroo.co.uk/menu/london/islington/cay-tre",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
10 h agoPassed402126 ms$0.003
19 h agoPassed402134 ms$0.003
29 h agoPassed402135 ms$0.003
44 h agoPassed402118 ms$0.003