OpenAny
Get API keyAPI Key
APIData

recipes logo
Recipes Search API

Search recipe listings by dish, ingredient and source via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as limit, output, q, and retrieve structured data including resolved recipe source, recipe title, published duration text, recipe source link, and source filter values for recipe discovery, and detail handoff.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Recipes 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
API
Pricing
Connect your agent
On this page

Overview

Overview
Recipes Search API

Recipes Search API

Set q and choose site, default bbcgoodfood, or allrecipes. Supported facets supply filter values; time, rating and serving filters describe source listing metadata rather than a newly analysed recipe.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required: q. Optional: site, cuisine, diet, difficulty, meal_type, total_time, max_time, calories, servings, rating, rating_min, sort, limit, page. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.
Selected implementation apish · Recipes recipe search API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Recipe discovery: Build controls from the selected source facets.
  • Detail handoff: Pass a selected source URL to Structured Extraction.

Returned Data

Field Meaning
source Resolved recipe source
items[].title Recipe title
items[].total_time Published duration text
items[].url Recipe source link
facets Source filter values
next_page Next page number or null

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/apish/recipes/v1/search \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode limit=1 \
  --data-urlencode output=json \
  --data-urlencode q=lasagne \
  --data-urlencode raw=0

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published Recipes Search API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Dish, ingredient or keywords.
Optional parameters (19)
bbcgoodfood (default) or allrecipes.
e.g. `italian`, `indian`, `mexican` (values in `facets`).
e.g. `vegetarian`, `vegan`, `gluten-free`, `healthy`, `low-calorie`, `high-protein`.
`easy`, `more-effort` or `a-challenge`.
e.g. `dinner`, `lunch`, `breakfast`, `dessert`, `snack`.
`lt-900` (15 min), `lt-1800`, `lt-2700`, `lt-3600`, `gte-3600`.
Total time at most this many minutes (1-1440), instead of `total_time`.
`lt-250`, `lt-500`, `lt-750`, `lt-1000`...
`gte-1` ... `gte-8`.
`gte-1` ... `gte-5` stars.
Minimum star rating 1-5, instead of `rating`.
`relevant` (default), `published`, `rating`, `quickest`.
Per page (default 24, max 60).
Page (default 1).
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
Recipes recipe search API · GET · View API reference
$0.002 / billing credit0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
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: 3. 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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
qURL query parametersquerystringYes

Dish, ingredient or keywords.

siteURL query parametersquerystringNo

bbcgoodfood (default) or allrecipes.

cuisineURL query parametersquerystringNo

e.g. `italian`, `indian`, `mexican` (values in `facets`).

dietURL query parametersquerystringNo

e.g. `vegetarian`, `vegan`, `gluten-free`, `healthy`, `low-calorie`, `high-protein`.

difficultyURL query parametersquerystringNo

`easy`, `more-effort` or `a-challenge`.

meal_typeURL query parametersquerystringNo

e.g. `dinner`, `lunch`, `breakfast`, `dessert`, `snack`.

total_timeURL query parametersquerystringNo

`lt-900` (15 min), `lt-1800`, `lt-2700`, `lt-3600`, `gte-3600`.

max_timeURL query parametersqueryintegerNo

Total time at most this many minutes (1-1440), instead of `total_time`.

caloriesURL query parametersquerystringNo

`lt-250`, `lt-500`, `lt-750`, `lt-1000`...

servingsURL query parametersquerystringNo

`gte-1` ... `gte-8`.

ratingURL query parametersquerystringNo

`gte-1` ... `gte-5` stars.

rating_minURL query parametersqueryintegerNo

Minimum star rating 1-5, instead of `rating`.

sortURL query parametersquerystringNo

`relevant` (default), `published`, `rating`, `quickest`.

enum: "relevant", "published", "rating", "quickest"

limitURL query parametersqueryintegerNo

Per page (default 24, max 60).

pageURL query parametersqueryintegerNo

Page (default 1).

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.

enum: "json"

recordsURL query parametersquerystringNo

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.

Response structure

Inferred from examples
  • applied_filtersobject
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • facetsobject
    • authorobject[]
      • countinteger
      • labelstring
      • valuestring
    • caloriesobject[]
      • countinteger
      • labelstring
      • valuestring
    • cuisineobject[]
      • countinteger
      • labelstring
      • valuestring
    • dietobject[]
      • countinteger
      • labelstring
      • valuestring
    • difficultyobject[]
      • countinteger
      • labelstring
      • valuestring
    • meal_typeobject[]
      • countinteger
      • labelstring
      • valuestring
    • ratingobject[]
      • countinteger
      • labelstring
      • valuestring
    • servingsobject[]
      • countinteger
      • labelstring
      • valuestring
    • total_timeobject[]
      • countinteger
      • labelstring
      • valuestring
  • fetched_atstring
  • itemsobject[]
    • authorstring
    • descriptionnull
    • difficultystring
    • has_videoboolean
    • idstring
    • imagestring
    • labelsstring[]
    • premiumboolean
    • ratingnumber
    • rating_countinteger
    • titlestring
    • total_timestring
    • urlstring
  • next_pageinteger
  • pageinteger
  • querystring
  • sortstring
  • sourcestring
  • totalinteger

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 itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits used$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 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.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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'
  3. 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
    }

Common questions

Which sources can I search?

site accepts bbcgoodfood, the default, or allrecipes. Use the returned source and facets for the selected source.

How do the duration inputs differ?

total_time uses values such as lt-900 for under 15 minutes. max_time instead uses minutes, from 1 to 1440; do not send minutes as the total_time code.

Can I filter dietary labels and ratings?

Use documented diet and other facet values. rating uses source codes such as gte-4, while rating_min accepts a numeric minimum from 1 to 5.

How do I sort and paginate?

sort accepts relevant, published, rating or quickest. limit defaults to 24 and accepts up to 60; follow next_page using page.

How do I bypass cached results?

Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

Can I request CSV or NDJSON?

This OpenAny implementation serves JSON only. Omit output or set output=json.

Use Recipes Search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.