Recipes recipe search API
Use the Recipes recipe search API to retrieve recipe listings, difficulty levels, filter and option values, author information, preparation and cooking times and record identities and titles as structured JSON from Recipes. Supply search words in the query; optionally select source site, rating filter and sort option to set the requested scope. Use these results to shortlist dishes and organize recipe references by the source's topics or collections. BBC Good Food filters do not apply when selecting Allrecipes as the source. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Recipes recipe search API
Prepare your request, then continue with your agent.
Pricing
$0.002 / billing credit
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- Pricing
On this page
Overview
Recipes recipe search API
Use the Recipes recipe search API to retrieve recipe listings, difficulty levels, filter and option values, author information, preparation and cooking times and record identities and titles as structured JSON from Recipes. Supply search words in the query; optionally select source site, rating filter and sort option to set the requested scope. Use these results to shortlist dishes and organize recipe references by the source's topics or collections. BBC Good Food filters do not apply when selecting Allrecipes as the source. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
Recipe search API
Searches BBC Good Food's recipes with its filters: cuisine, diet (vegetarian, vegan, gluten-free, healthy...), difficulty, meal type, total time or a maximum time in minutes, calories, servings, rating or a minimum star rating, and author; sort by relevance, newest, rating or quickest. Each recipe: id, title, link, author, rating and count, total time, difficulty, labels, image, video. facets lists every filter value with counts. With site=allrecipes, searches Allrecipes instead (24 per page: id, title, link, star rating, rating count, category tag, image; the BBC filters do not apply). Pass next_page back as page; null on the last page.
Inputs and results
Send the listed inputs as GET query parameters. Required inputs: q. Supported values, filters and optional identifiers are listed below.
| Parameter | Type | Required | Meaning |
|---|---|---|---|
q | string | Required | Dish, ingredient or keywords. |
site | string | Optional | bbcgoodfood (default) or allrecipes. |
cuisine | string | Optional | e.g. `italian`, `indian`, `mexican` (values in `facets`). |
diet | string | Optional | e.g. `vegetarian`, `vegan`, `gluten-free`, `healthy`, `low-calorie`, `high-protein`. |
difficulty | string | Optional | `easy`, `more-effort` or `a-challenge`. |
meal_type | string | Optional | e.g. `dinner`, `lunch`, `breakfast`, `dessert`, `snack`. |
total_time | string | Optional | `lt-900` (15 min), `lt-1800`, `lt-2700`, `lt-3600`, `gte-3600`. |
max_time | integer | Optional | Total time at most this many minutes (1-1440), instead of `total_time`. |
calories | string | Optional | `lt-250`, `lt-500`, `lt-750`, `lt-1000`... |
servings | string | Optional | `gte-1` ... `gte-8`. |
rating | string | Optional | `gte-1` ... `gte-5` stars. |
rating_min | integer | Optional | Minimum star rating 1-5, instead of `rating`. |
sort | string | Optional | `relevant` (default), `published`, `rating`, `quickest`. Allowed values: relevant, published, rating, quickest. |
limit | integer | Optional | Per page (default 24, max 60). |
page | integer | Optional | Page (default 1). |
raw | string | Optional | Use 0 to leave out the source raw blocks. This controls raw source payloads, not the normalized result records. Allowed values: 0, 1. |
fields | string | Optional | Optional comma-separated output fields; nested paths follow the source field-selection syntax. Call metadata is retained. |
fresh | string | Optional | Use 1 to bypass the source response cache. Cache hits are also billed according to reported credits. Allowed values: 1. |
output | string | Optional | Response format for this product: json. Omit this parameter to use JSON. Allowed values: json. |
records | string | Optional | Source export selector for CSV or NDJSON. It has no effect on this JSON-only product. |
Using OpenAny
Send this request to the OpenAny gateway with your OpenAny API key in the Authorization header. The query values below match the paired request example.
OpenAny request example
curl "https://api.openany.si/v1/agent-apis/apish/recipes/v1/search?q=lasagne&output=json&raw=0&limit=1" \
-H "Authorization: Bearer <OPENANY_API_KEY>"This command illustrates the OpenAny request format. The response example below retains its stated provenance; it is not evidence that this gateway request was executed.
Response example
Recorded source response for the exact request shown above. Filters, field selectors and page choices in that request define the returned scope.
{
"query": "lasagne",
"applied_filters": {},
"sort": "relevant",
"total": 90,
"page": 1,
"count": 1,
"items": [
{
"id": "226624",
"title": "Creamy courgette lasagne",
"url": "https://www.bbcgoodfood.com/recipes/creamy-courgette-lasagne",
"description": null,
"author": "Good Food team",
"rating": 4.55,
"rating_count": 738,
"total_time": "30 mins",
"difficulty": "Easy",
"labels": [
"Vegetarian"
],
"image": "https://images.immediate.co.uk/production/volatile/sites/30/2022/03/Creamy-courgette-lasagne-e63aa0c.jpg",
"has_video": true,
"premium": false
}
],
"facets": {
"author": [
{
"value": "ailsaburt",
"label": "Ailsa Burt",
"count": 4
},
{
"value": "angelanilsen",
"label": "Angela Nilsen",
"count": 2
},
{
"value": "annaglover",
"label": "Anna Glover",
"count": 4
},
{
"value": "barneydesmazery",
"label": "Barney Desmazery",
"count": 5
},
{
"value": "cassiebest",
"label": "Cassie Best",
"count": 11
},
{
"value": "estherclark",
"label": "Esther Clark",
"count": 3
},
{
"value": "member-recipes",
"label": "Good Food member",
"count": 2
},
{
"value": "goodfood",
"label": "Good Food team",
"count": 22
},
{
"value": "helenabusiakiewicz",
"label": "Helena Busiakiewicz",
"count": 4
},
{
"value": "sarabuenfeld",
"label": "Sara Buenfeld",
"count": 5
}
],
"calories": [
{
"value": "lt-250",
"label": "Up to 250 kcal",
"count": 3
},
{
"value": "lt-500",
"label": "Up to 500 kcal",
"count": 37
},
{
"value": "lt-750",
"label": "Up to 750 kcal",
"count": 69
},
{
"value": "lt-1000",
"label": "Up to 1000 kcal",
"count": 88
},
{
"value": "lt-1250",
"label": "Up to 1250 kcal",
"count": 90
},
{
"value": "lt-1500",
"label": "Up to 1500 kcal",
"count": 90
}
],
"servings": [
{
"value": "gte-1",
"label": "1+ Servings",
"count": 81
},
{
"value": "gte-2",
"label": "2+ Servings",
"count": 80
},
{
"value": "gte-3",
"label": "3+ Servings",
"count": 77
},
{
"value": "gte-4",
"label": "4+ Servings",
"count": 76
},
{
"value": "gte-5",
"label": "5+ Servings",
"count": 46
},
{
"value": "gte-6",
"label": "6+ Servings",
"count": 44
},
{
"value": "gte-7",
"label": "7+ Servings",
"count": 13
},
{
"value": "gte-8",
"label": "8+ Servings",
"count": 13
}
],
"total_time": [
{
"value": "lt-900",
"label": "Under 15 minutes",
"count": 1
},
{
"value": "lt-1800",
"label": "Under 30 minutes",
"count": 4
},
{
"value": "lt-2700",
"label": "Under 45 minutes",
"count": 12
},
{
"value": "lt-3600",
"label": "Under 1 hour",
"count": 22
},
{
"value": "gte-3600",
"label": "1 hour or more",
"count": 68
}
],
"cuisine": [
{
"value": "british",
"label": "British",
"count": 4
},
{
"value": "italian",
"label": "Italian",
"count": 41
},
{
"value": "jewish",
"label": "Jewish",
"count": 1
},
{
"value": "korean",
"label": "Korean",
"count": 1
}
],
"diet": [
{
"value": "vegetarian",
"label": "Vegetarian",
"count": 39
},
{
"value": "healthy",
"label": "Healthy",
"count": 10
},
{
"value": "nut-free",
"label": "Nut-free",
"count": 8
},
{
"value": "low-sugar",
"label": "Low sugar",
"count": 8
},
{
"value": "high-fibre",
"label": "High-fibre",
"count": 6
},
{
"value": "egg-free",
"label": "Egg-free",
"count": 4
},
{
"value": "high-protein",
"label": "High-protein",
"count": 3
},
{
"value": "vegan",
"label": "Vegan",
"count": 2
},
{
"value": "gluten-free",
"label": "Gluten-free",
"count": 1
},
{
"value": "low-calorie",
"label": "Low calorie",
"count": 1
}
],
"difficulty": [
{
"value": "easy",
"label": "Easy",
"count": 73
},
{
"value": "more-effort",
"label": "More effort",
"count": 16
},
{
"value": "a-challenge",
"label": "A challenge",
"count": 1
}
],
"meal_type": [
{
"value": "buffet",
"label": "Buffet",
"count": 1
},
{
"value": "dinner",
"label": "Dinner",
"count": 80
},
{
"value": "lunch",
"label": "Lunch",
"count": 14
},
{
"value": "main-course",
"label": "Main course",
"count": 54
},
{
"value": "pasta",
"label": "Pasta",
"count": 21
},
{
"value": "snack",
"label": "Snack",
"count": 2
},
{
"value": "supper",
"label": "Supper",
"count": 18
}
],
"rating": [
{
"value": "gte-1",
"label": "1+ Star",
"count": 84
},
{
"value": "gte-2",
"label": "2+ Star",
"count": 83
},
{
"value": "gte-3",
"label": "3+ Star",
"count": 82
},
{
"value": "gte-4",
"label": "4+ Star",
"count": 71
},
{
"value": "gte-5",
"label": "5+ Star",
"count": 6
}
]
},
"next_page": 2,
"source": "BBC Good Food",
"cached": false,
"fetched_at": "2026-11-19T12:19:53.051Z",
"credits_used": 1
}Usage and price
The price is USD 0.002 per actual credit reported in credits_used, with no fixed per-call fee. A response reporting zero credits has zero usage cost. Up to USD 0.002 is reserved for this request; the final price follows reported usage within the configured upper limit. A valid empty result or an unsuccessful lookup can still consume source credits. Cache hits also consume credits.
Coverage and limits
Coverage and update times follow the source. Use the documented field definitions when interpreting the selected result. Requests have a 120-second time budget and a 8 MiB response limit.
Use page according to the operation's parameter definitions. Each additional page requires a separate request.
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
applied_filtersobjectcachedbooleancountintegercredits_usedintegerfacetsobjectauthorobject[]countintegerlabelstringvaluestring
caloriesobject[]countintegerlabelstringvaluestring
cuisineobject[]countintegerlabelstringvaluestring
dietobject[]countintegerlabelstringvaluestring
difficultyobject[]countintegerlabelstringvaluestring
meal_typeobject[]countintegerlabelstringvaluestring
ratingobject[]countintegerlabelstringvaluestring
servingsobject[]countintegerlabelstringvaluestring
total_timeobject[]countintegerlabelstringvaluestring
fetched_atstringitemsobject[]authorstringdescriptionnulldifficultystringhas_videobooleanidstringimagestringlabelsstring[]premiumbooleanratingnumberrating_countintegertitlestringtotal_timestringurlstring
next_pageintegerpageintegerquerystringsortstringsourcestringtotalinteger
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
applied_filters?: Record<string, unknown>;
cached?: boolean;
count?: number;
credits_used?: number;
facets?: {
author?: Array<{
count?: number;
label?: string;
value?: string;
}>;
calories?: Array<{
count?: number;
label?: string;
value?: string;
}>;
cuisine?: Array<{
count?: number;
label?: string;
value?: string;
}>;
diet?: Array<{
count?: number;
label?: string;
value?: string;
}>;
difficulty?: Array<{
count?: number;
label?: string;
value?: string;
}>;
meal_type?: Array<{
count?: number;
label?: string;
value?: string;
}>;
rating?: Array<{
count?: number;
label?: string;
value?: string;
}>;
servings?: Array<{
count?: number;
label?: string;
value?: string;
}>;
total_time?: Array<{
count?: number;
label?: string;
value?: string;
}>;
};
fetched_at?: string;
items?: Array<{
author?: string;
description?: null;
difficulty?: string;
has_video?: boolean;
id?: string;
image?: string;
labels?: Array<string>;
premium?: boolean;
rating?: number;
rating_count?: number;
title?: string;
total_time?: string;
url?: string;
}>;
next_page?: number;
page?: number;
query?: string;
sort?: string;
source?: string;
total?: number;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent Recipes recipe search API · GET · View API reference | $0.002 / billing credit | — | —successP50— |
- Pricing
- $0.002
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 2. Price update time: not supplied.
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/apish/recipes/v1/search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/apish/recipes/v1/search?limit=1&output=json&q=lasagne&raw=0' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
q | URL query parametersquery | string | Yes | Dish, ingredient or keywords. |
site | URL query parametersquery | string | No | bbcgoodfood (default) or allrecipes. |
cuisine | URL query parametersquery | string | No | e.g. `italian`, `indian`, `mexican` (values in `facets`). |
diet | URL query parametersquery | string | No | e.g. `vegetarian`, `vegan`, `gluten-free`, `healthy`, `low-calorie`, `high-protein`. |
difficulty | URL query parametersquery | string | No | `easy`, `more-effort` or `a-challenge`. |
meal_type | URL query parametersquery | string | No | e.g. `dinner`, `lunch`, `breakfast`, `dessert`, `snack`. |
total_time | URL query parametersquery | string | No | `lt-900` (15 min), `lt-1800`, `lt-2700`, `lt-3600`, `gte-3600`. |
max_time | URL query parametersquery | integer | No | Total time at most this many minutes (1-1440), instead of `total_time`. |
calories | URL query parametersquery | string | No | `lt-250`, `lt-500`, `lt-750`, `lt-1000`... |
servings | URL query parametersquery | string | No | `gte-1` ... `gte-8`. |
rating | URL query parametersquery | string | No | `gte-1` ... `gte-5` stars. |
rating_min | URL query parametersquery | integer | No | Minimum star rating 1-5, instead of `rating`. |
sort | URL query parametersquery | string | No | `relevant` (default), `published`, `rating`, `quickest`. enum: "relevant", "published", "rating", "quickest" |
limit | URL query parametersquery | integer | No | Per page (default 24, max 60). |
page | URL query parametersquery | integer | No | Page (default 1). |
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json. enum: "json" |
records | URL query parametersquery | string | No | With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row. |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"applied_filters": {},
"cached": false,
"count": 1,
"credits_used": 1,
"facets": {
"author": [
{
"count": 4,
"label": "Ailsa Burt",
"value": "ailsaburt"
},
{
"count": 2,
"label": "Angela Nilsen",
"value": "angelanilsen"
},
{
"count": 4,
"label": "Anna Glover",
"value": "annaglover"
},
{
"count": 5,
"label": "Barney Desmazery",
"value": "barneydesmazery"
},
{
"count": 11,
"label": "Cassie Best",
"value": "cassiebest"
},
{
"count": 3,
"label": "Esther Clark",
"value": "estherclark"
},
{
"count": 2,
"label": "Good Food member",
"value": "member-recipes"
},
{
"count": 22,
"label": "Good Food team",
"value": "goodfood"
},
{
"count": 4,
"label": "Helena Busiakiewicz",
"value": "helenabusiakiewicz"
},
{
"count": 5,
"label": "Sara Buenfeld",
"value": "sarabuenfeld"
}
],
"calories": [
{
"count": 3,
"label": "Up to 250 kcal",
"value": "lt-250"
},
{
"count": 37,
"label": "Up to 500 kcal",
"value": "lt-500"
},
{
"count": 69,
"label": "Up to 750 kcal",
"value": "lt-750"
},
{
"count": 88,
"label": "Up to 1000 kcal",
"value": "lt-1000"
},
{
"count": 90,
"label": "Up to 1250 kcal",
"value": "lt-1250"
},
{
"count": 90,
"label": "Up to 1500 kcal",
"value": "lt-1500"
}
],
"cuisine": [
{
"count": 4,
"label": "British",
"value": "british"
},
{
"count": 41,
"label": "Italian",
"value": "italian"
},
{
"count": 1,
"label": "Jewish",
"value": "jewish"
},
{
"count": 1,
"label": "Korean",
"value": "korean"
}
],
"diet": [
{
"count": 39,
"label": "Vegetarian",
"value": "vegetarian"
},
{
"count": 10,
"label": "Healthy",
"value": "healthy"
},
{
"count": 8,
"label": "Nut-free",
"value": "nut-free"
},
{
"count": 8,
"label": "Low sugar",
"value": "low-sugar"
},
{
"count": 6,
"label": "High-fibre",
"value": "high-fibre"
},
{
"count": 4,
"label": "Egg-free",
"value": "egg-free"
},
{
"count": 3,
"label": "High-protein",
"value": "high-protein"
},
{
"count": 2,
"label": "Vegan",
"value": "vegan"
},
{
"count": 1,
"label": "Gluten-free",
"value": "gluten-free"
},
{
"count": 1,
"label": "Low calorie",
"value": "low-calorie"
}
],
"difficulty": [
{
"count": 73,
"label": "Easy",
"value": "easy"
},
{
"count": 16,
"label": "More effort",
"value": "more-effort"
},
{
"count": 1,
"label": "A challenge",
"value": "a-challenge"
}
],
"meal_type": [
{
"count": 1,
"label": "Buffet",
"value": "buffet"
},
{
"count": 80,
"label": "Dinner",
"value": "dinner"
},
{
"count": 14,
"label": "Lunch",
"value": "lunch"
},
{
"count": 54,
"label": "Main course",
"value": "main-course"
},
{
"count": 21,
"label": "Pasta",
"value": "pasta"
},
{
"count": 2,
"label": "Snack",
"value": "snack"
},
{
"count": 18,
"label": "Supper",
"value": "supper"
}
],
"rating": [
{
"count": 84,
"label": "1+ Star",
"value": "gte-1"
},
{
"count": 83,
"label": "2+ Star",
"value": "gte-2"
},
{
"count": 82,
"label": "3+ Star",
"value": "gte-3"
},
{
"count": 71,
"label": "4+ Star",
"value": "gte-4"
},
{
"count": 6,
"label": "5+ Star",
"value": "gte-5"
}
],
"servings": [
{
"count": 81,
"label": "1+ Servings",
"value": "gte-1"
},
{
"count": 80,
"label": "2+ Servings",
"value": "gte-2"
},
{
"count": 77,
"label": "3+ Servings",
"value": "gte-3"
},
{
"count": 76,
"label": "4+ Servings",
"value": "gte-4"
},
{
"count": 46,
"label": "5+ Servings",
"value": "gte-5"
},
{
"count": 44,
"label": "6+ Servings",
"value": "gte-6"
},
{
"count": 13,
"label": "7+ Servings",
"value": "gte-7"
},
{
"count": 13,
"label": "8+ Servings",
"value": "gte-8"
}
],
"total_time": [
{
"count": 1,
"label": "Under 15 minutes",
"value": "lt-900"
},
{
"count": 4,
"label": "Under 30 minutes",
"value": "lt-1800"
},
{
"count": 12,
"label": "Under 45 minutes",
"value": "lt-2700"
},
{
"count": 22,
"label": "Under 1 hour",
"value": "lt-3600"
},
{
"count": 68,
"label": "1 hour or more",
"value": "gte-3600"
}
]
},
"fetched_at": "2026-11-19T12:19:53.051Z",
"items": [
{
"author": "Good Food team",
"description": null,
"difficulty": "Easy",
"has_video": true,
"id": "226624",
"image": "https://images.immediate.co.uk/production/volatile/sites/30/2022/03/Creamy-courgette-lasagne-e63aa0c.jpg",
"labels": [
"Vegetarian"
],
"premium": false,
"rating": 4.55,
"rating_count": 738,
"title": "Creamy courgette lasagne",
"total_time": "30 mins",
"url": "https://www.bbcgoodfood.com/recipes/creamy-courgette-lasagne"
}
],
"next_page": 2,
"page": 1,
"query": "lasagne",
"sort": "relevant",
"source": "BBC Good Food",
"total": 90
}Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits used | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 billing credit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Recipes recipe search API
Use the Recipes recipe search API to retrieve recipe listings, difficulty levels, filter and option values, author information, preparation and cooking times and record identities and titles as structured JSON from Recipes. Supply search words in the query; optionally select source site, rating filter and sort option to set the requested scope. Use these results to shortlist dishes and organize recipe references by the source's topics or collections. BBC Good Food filters do not apply when selecting Allrecipes as the source. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
## Available implementations
apish · Recipes recipe search API: https://openany.si/markets/apis/capabilities/recipes-recipe-search-api?offering=e12d743e-b517-4d02-96b0-07363a97dd6d · $0.002 / billing credit
## Selected API contract
Documentation: https://openany.si/apis/e12d743e-b517-4d02-96b0-07363a97dd6d
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/recipes/v1/search
Price: $0.002 / billing credit
Provider: apish
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/apish/recipes/v1/search?limit=1&output=json&q=lasagne&raw=0' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Recipes recipe search API",
"endpoint": "https://api.openany.si/v1/agent-apis/apish/recipes/v1/search",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Dish, ingredient or keywords.",
"location": "query",
"name": "q",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "bbcgoodfood (default) or allrecipes.",
"location": "query",
"name": "site",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "e.g. `italian`, `indian`, `mexican` (values in `facets`).",
"location": "query",
"name": "cuisine",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "e.g. `vegetarian`, `vegan`, `gluten-free`, `healthy`, `low-calorie`, `high-protein`.",
"location": "query",
"name": "diet",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "`easy`, `more-effort` or `a-challenge`.",
"location": "query",
"name": "difficulty",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "e.g. `dinner`, `lunch`, `breakfast`, `dessert`, `snack`.",
"location": "query",
"name": "meal_type",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "`lt-900` (15 min), `lt-1800`, `lt-2700`, `lt-3600`, `gte-3600`.",
"location": "query",
"name": "total_time",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Total time at most this many minutes (1-1440), instead of `total_time`.",
"location": "query",
"name": "max_time",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "`lt-250`, `lt-500`, `lt-750`, `lt-1000`...",
"location": "query",
"name": "calories",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "`gte-1` ... `gte-8`.",
"location": "query",
"name": "servings",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "`gte-1` ... `gte-5` stars.",
"location": "query",
"name": "rating",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Minimum star rating 1-5, instead of `rating`.",
"location": "query",
"name": "rating_min",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "`relevant` (default), `published`, `rating`, `quickest`.",
"enum_values": [
"relevant",
"published",
"rating",
"quickest"
],
"location": "query",
"name": "sort",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Per page (default 24, max 60).",
"location": "query",
"name": "limit",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Page (default 1).",
"location": "query",
"name": "page",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
"enum_values": [
"0",
"1"
],
"location": "query",
"name": "raw",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.",
"location": "query",
"name": "fields",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "1 skips the 24-hour cache and fetches live.",
"enum_values": [
"1"
],
"location": "query",
"name": "fresh",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.",
"enum_values": [
"json"
],
"location": "query",
"name": "output",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.",
"location": "query",
"name": "records",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "rules",
"parameters": [],
"policy_version": 2,
"sale": {
"addons": [],
"base_price_micro_usd": "0",
"max_cost_micro_usd": "2000",
"quantities": [
{
"id": "upstream_credits",
"label": "Actual API.SH credits used",
"max_quantity": "1",
"measure": "value",
"pointer": "/credits_used",
"price_micro_usd": "2000",
"quantity_scale": 0,
"source": "response",
"unit": "credit",
"unit_quantity": "1"
}
],
"rounding": "ceil",
"variants": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · Live API.SH response · Minimal request",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"limit": "1",
"output": "json",
"q": "lasagne",
"raw": "0"
}
},
"response_body": {
"applied_filters": {},
"cached": false,
"count": 1,
"credits_used": 1,
"facets": {
"author": [
{
"count": 4,
"label": "Ailsa Burt",
"value": "ailsaburt"
},
{
"count": 2,
"label": "Angela Nilsen",
"value": "angelanilsen"
},
{
"count": 4,
"label": "Anna Glover",
"value": "annaglover"
},
{
"count": 5,
"label": "Barney Desmazery",
"value": "barneydesmazery"
},
{
"count": 11,
"label": "Cassie Best",
"value": "cassiebest"
},
{
"count": 3,
"label": "Esther Clark",
"value": "estherclark"
},
{
"count": 2,
"label": "Good Food member",
"value": "member-recipes"
},
{
"count": 22,
"label": "Good Food team",
"value": "goodfood"
},
{
"count": 4,
"label": "Helena Busiakiewicz",
"value": "helenabusiakiewicz"
},
{
"count": 5,
"label": "Sara Buenfeld",
"value": "sarabuenfeld"
}
],
"calories": [
{
"count": 3,
"label": "Up to 250 kcal",
"value": "lt-250"
},
{
"count": 37,
"label": "Up to 500 kcal",
"value": "lt-500"
},
{
"count": 69,
"label": "Up to 750 kcal",
"value": "lt-750"
},
{
"count": 88,
"label": "Up to 1000 kcal",
"value": "lt-1000"
},
{
"count": 90,
"label": "Up to 1250 kcal",
"value": "lt-1250"
},
{
"count": 90,
"label": "Up to 1500 kcal",
"value": "lt-1500"
}
],
"cuisine": [
{
"count": 4,
"label": "British",
"value": "british"
},
{
"count": 41,
"label": "Italian",
"value": "italian"
},
{
"count": 1,
"label": "Jewish",
"value": "jewish"
},
{
"count": 1,
"label": "Korean",
"value": "korean"
}
],
"diet": [
{
"count": 39,
"label": "Vegetarian",
"value": "vegetarian"
},
{
"count": 10,
"label": "Healthy",
"value": "healthy"
},
{
"count": 8,
"label": "Nut-free",
"value": "nut-free"
},
{
"count": 8,
"label": "Low sugar",
"value": "low-sugar"
},
{
"count": 6,
"label": "High-fibre",
"value": "high-fibre"
},
{
"count": 4,
"label": "Egg-free",
"value": "egg-free"
},
{
"count": 3,
"label": "High-protein",
"value": "high-protein"
},
{
"count": 2,
"label": "Vegan",
"value": "vegan"
},
{
"count": 1,
"label": "Gluten-free",
"value": "gluten-free"
},
{
"count": 1,
"label": "Low calorie",
"value": "low-calorie"
}
],
"difficulty": [
{
"count": 73,
"label": "Easy",
"value": "easy"
},
{
"count": 16,
"label": "More effort",
"value": "more-effort"
},
{
"count": 1,
"label": "A challenge",
"value": "a-challenge"
}
],
"meal_type": [
{
"count": 1,
"label": "Buffet",
"value": "buffet"
},
{
"count": 80,
"label": "Dinner",
"value": "dinner"
},
{
"count": 14,
"label": "Lunch",
"value": "lunch"
},
{
"count": 54,
"label": "Main course",
"value": "main-course"
},
{
"count": 21,
"label": "Pasta",
"value": "pasta"
},
{
"count": 2,
"label": "Snack",
"value": "snack"
},
{
"count": 18,
"label": "Supper",
"value": "supper"
}
],
"rating": [
{
"count": 84,
"label": "1+ Star",
"value": "gte-1"
},
{
"count": 83,
"label": "2+ Star",
"value": "gte-2"
},
{
"count": 82,
"label": "3+ Star",
"value": "gte-3"
},
{
"count": 71,
"label": "4+ Star",
"value": "gte-4"
},
{
"count": 6,
"label": "5+ Star",
"value": "gte-5"
}
],
"servings": [
{
"count": 81,
"label": "1+ Servings",
"value": "gte-1"
},
{
"count": 80,
"label": "2+ Servings",
"value": "gte-2"
},
{
"count": 77,
"label": "3+ Servings",
"value": "gte-3"
},
{
"count": 76,
"label": "4+ Servings",
"value": "gte-4"
},
{
"count": 46,
"label": "5+ Servings",
"value": "gte-5"
},
{
"count": 44,
"label": "6+ Servings",
"value": "gte-6"
},
{
"count": 13,
"label": "7+ Servings",
"value": "gte-7"
},
{
"count": 13,
"label": "8+ Servings",
"value": "gte-8"
}
],
"total_time": [
{
"count": 1,
"label": "Under 15 minutes",
"value": "lt-900"
},
{
"count": 4,
"label": "Under 30 minutes",
"value": "lt-1800"
},
{
"count": 12,
"label": "Under 45 minutes",
"value": "lt-2700"
},
{
"count": 22,
"label": "Under 1 hour",
"value": "lt-3600"
},
{
"count": 68,
"label": "1 hour or more",
"value": "gte-3600"
}
]
},
"fetched_at": "2026-11-19T12:19:53.051Z",
"items": [
{
"author": "Good Food team",
"description": null,
"difficulty": "Easy",
"has_video": true,
"id": "226624",
"image": "https://images.immediate.co.uk/production/volatile/sites/30/2022/03/Creamy-courgette-lasagne-e63aa0c.jpg",
"labels": [
"Vegetarian"
],
"premium": false,
"rating": 4.55,
"rating_count": 738,
"title": "Creamy courgette lasagne",
"total_time": "30 mins",
"url": "https://www.bbcgoodfood.com/recipes/creamy-courgette-lasagne"
}
],
"next_page": 2,
"page": 1,
"query": "lasagne",
"sort": "relevant",
"source": "BBC Good Food",
"total": 90
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Live API.SH response · Minimal request
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 20
Review these request fields before running. Keep the published provider and request method unchanged.
q- Dish, ingredient or keywords.
site- bbcgoodfood (default) or allrecipes.
cuisine- e.g. `italian`, `indian`, `mexican` (values in `facets`).
diet- e.g. `vegetarian`, `vegan`, `gluten-free`, `healthy`, `low-calorie`, `high-protein`.
difficulty- `easy`, `more-effort` or `a-challenge`.
meal_type- e.g. `dinner`, `lunch`, `breakfast`, `dessert`, `snack`.
total_time- `lt-900` (15 min), `lt-1800`, `lt-2700`, `lt-3600`, `gte-3600`.
max_time- Total time at most this many minutes (1-1440), instead of `total_time`.
calories- `lt-250`, `lt-500`, `lt-750`, `lt-1000`...
servings- `gte-1` ... `gte-8`.
rating- `gte-1` ... `gte-5` stars.
rating_min- Minimum star rating 1-5, instead of `rating`.
sort- `relevant` (default), `published`, `rating`, `quickest`.
limit- Per page (default 24, max 60).
page- Page (default 1).
raw- 0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
fields- Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
fresh- 1 skips the 24-hour cache and fetches live.
output- JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.
records- With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/apish/recipes/v1/search?limit=1&output=json&q=lasagne&raw=0' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "applied_filters": {}, "cached": false, "count": 1, "credits_used": 1, "facets": { "author": [ { "count": 4, "label": "Ailsa Burt", "value": "ailsaburt" }, { "count": 2, "label": "Angela Nilsen", "value": "angelanilsen" }, { "count": 4, "label": "Anna Glover", "value": "annaglover" }, { "count": 5, "label": "Barney Desmazery", "value": "barneydesmazery" }, { "count": 11, "label": "Cassie Best", "value": "cassiebest" }, { "count": 3, "label": "Esther Clark", "value": "estherclark" }, { "count": 2, "label": "Good Food member", "value": "member-recipes" }, { "count": 22, "label": "Good Food team", "value": "goodfood" }, { "count": 4, "label": "Helena Busiakiewicz", "value": "helenabusiakiewicz" }, { "count": 5, "label": "Sara Buenfeld", "value": "sarabuenfeld" } ], "calories": [ { "count": 3, "label": "Up to 250 kcal", "value": "lt-250" }, { "count": 37, "label": "Up to 500 kcal", "value": "lt-500" }, { "count": 69, "label": "Up to 750 kcal", "value": "lt-750" }, { "count": 88, "label": "Up to 1000 kcal", "value": "lt-1000" }, { "count": 90, "label": "Up to 1250 kcal", "value": "lt-1250" }, { "count": 90, "label": "Up to 1500 kcal", "value": "lt-1500" } ], "cuisine": [ { "count": 4, "label": "British", "value": "british" }, { "count": 41, "label": "Italian", "value": "italian" }, { "count": 1, "label": "Jewish", "value": "jewish" }, { "count": 1, "label": "Korean", "value": "korean" } ], "diet": [ { "count": 39, "label": "Vegetarian", "value": "vegetarian" }, { "count": 10, "label": "Healthy", "value": "healthy" }, { "count": 8, "label": "Nut-free", "value": "nut-free" }, { "count": 8, "label": "Low sugar", "value": "low-sugar" }, { "count": 6, "label": "High-fibre", "value": "high-fibre" }, { "count": 4, "label": "Egg-free", "value": "egg-free" }, { "count": 3, "label": "High-protein", "value": "high-protein" }, { "count": 2, "label": "Vegan", "value": "vegan" }, { "count": 1, "label": "Gluten-free", "value": "gluten-free" }, { "count": 1, "label": "Low calorie", "value": "low-calorie" } ], "difficulty": [ { "count": 73, "label": "Easy", "value": "easy" }, { "count": 16, "label": "More effort", "value": "more-effort" }, { "count": 1, "label": "A challenge", "value": "a-challenge" } ], "meal_type": [ { "count": 1, "label": "Buffet", "value": "buffet" }, { "count": 80, "label": "Dinner", "value": "dinner" }, { "count": 14, "label": "Lunch", "value": "lunch" }, { "count": 54, "label": "Main course", "value": "main-course" }, { "count": 21, "label": "Pasta", "value": "pasta" }, { "count": 2, "label": "Snack", "value": "snack" }, { "count": 18, "label": "Supper", "value": "supper" } ], "rating": [ { "count": 84, "label": "1+ Star", "value": "gte-1" }, { "count": 83, "label": "2+ Star", "value": "gte-2" }, { "count": 82, "label": "3+ Star", "value": "gte-3" }, { "count": 71, "label": "4+ Star", "value": "gte-4" }, { "count": 6, "label": "5+ Star", "value": "gte-5" } ], "servings": [ { "count": 81, "label": "1+ Servings", "value": "gte-1" }, { "count": 80, "label": "2+ Servings", "value": "gte-2" }, { "count": 77, "label": "3+ Servings", "value": "gte-3" }, { "count": 76, "label": "4+ Servings", "value": "gte-4" }, { "count": 46, "label": "5+ Servings", "value": "gte-5" }, { "count": 44, "label": "6+ Servings", "value": "gte-6" }, { "count": 13, "label": "7+ Servings", "value": "gte-7" }, { "count": 13, "label": "8+ Servings", "value": "gte-8" } ], "total_time": [ { "count": 1, "label": "Under 15 minutes", "value": "lt-900" }, { "count": 4, "label": "Under 30 minutes", "value": "lt-1800" }, { "count": 12, "label": "Under 45 minutes", "value": "lt-2700" }, { "count": 22, "label": "Under 1 hour", "value": "lt-3600" }, { "count": 68, "label": "1 hour or more", "value": "gte-3600" } ] }, "fetched_at": "2026-11-19T12:19:53.051Z", "items": [ { "author": "Good Food team", "description": null, "difficulty": "Easy", "has_video": true, "id": "226624", "image": "https://images.immediate.co.uk/production/volatile/sites/30/2022/03/Creamy-courgette-lasagne-e63aa0c.jpg", "labels": [ "Vegetarian" ], "premium": false, "rating": 4.55, "rating_count": 738, "title": "Creamy courgette lasagne", "total_time": "30 mins", "url": "https://www.bbcgoodfood.com/recipes/creamy-courgette-lasagne" } ], "next_page": 2, "page": 1, "query": "lasagne", "sort": "relevant", "source": "BBC Good Food", "total": 90 }