# Recipes recipe 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.

Documentation: https://openany.si/market/apis/recipes/recipes-recipe-search-api/?offering=e12d743e-b517-4d02-96b0-07363a97dd6d
API ID: e12d743e-b517-4d02-96b0-07363a97dd6d
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/recipes/v1/search
Page update time: 2026-12-03T02:45:54.682Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:45:53.664Z. This is not a price-change timestamp.
```json
{
  "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": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Recipes recipe search API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "description": "Dish, ingredient or keywords."
        },
        "site": {
          "type": "string",
          "description": "bbcgoodfood (default) or allrecipes."
        },
        "cuisine": {
          "type": "string",
          "description": "e.g. `italian`, `indian`, `mexican` (values in `facets`)."
        },
        "diet": {
          "type": "string",
          "description": "e.g. `vegetarian`, `vegan`, `gluten-free`, `healthy`, `low-calorie`, `high-protein`."
        },
        "difficulty": {
          "type": "string",
          "description": "`easy`, `more-effort` or `a-challenge`."
        },
        "meal_type": {
          "type": "string",
          "description": "e.g. `dinner`, `lunch`, `breakfast`, `dessert`, `snack`."
        },
        "total_time": {
          "type": "string",
          "description": "`lt-900` (15 min), `lt-1800`, `lt-2700`, `lt-3600`, `gte-3600`."
        },
        "max_time": {
          "type": "integer",
          "description": "Total time at most this many minutes (1-1440), instead of `total_time`."
        },
        "calories": {
          "type": "string",
          "description": "`lt-250`, `lt-500`, `lt-750`, `lt-1000`..."
        },
        "servings": {
          "type": "string",
          "description": "`gte-1` ... `gte-8`."
        },
        "rating": {
          "type": "string",
          "description": "`gte-1` ... `gte-5` stars."
        },
        "rating_min": {
          "type": "integer",
          "description": "Minimum star rating 1-5, instead of `rating`."
        },
        "sort": {
          "type": "string",
          "description": "`relevant` (default), `published`, `rating`, `quickest`.",
          "enum": [
            "relevant",
            "published",
            "rating",
            "quickest"
          ]
        },
        "limit": {
          "type": "integer",
          "description": "Per page (default 24, max 60)."
        },
        "page": {
          "type": "integer",
          "description": "Page (default 1)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "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."
        }
      },
      "required": [
        "q"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "applied_filters": {
      "type": "object",
      "properties": {}
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "facets": {
      "type": "object",
      "properties": {
        "author": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "label": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        },
        "calories": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "label": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        },
        "cuisine": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "label": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        },
        "diet": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "label": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        },
        "difficulty": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "label": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        },
        "meal_type": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "label": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        },
        "rating": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "label": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        },
        "servings": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "label": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        },
        "total_time": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "label": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "fetched_at": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "author": {
            "type": "string"
          },
          "description": {
            "type": "null"
          },
          "difficulty": {
            "type": "string"
          },
          "has_video": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "premium": {
            "type": "boolean"
          },
          "rating": {
            "type": "number"
          },
          "rating_count": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "total_time": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "query": {
      "type": "string"
    },
    "sort": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal 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'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/recipes/recipes-recipe-search-api/?offering=e12d743e-b517-4d02-96b0-07363a97dd6d

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
