EpicDirectories Recipes API

The recipes API from EpicDirectories — 3 operation(s) for recipes.

Operations 6

POST /v1/directories/{directoryId}/recipes Create a new recipe #
GET /v1/directories/{directoryId}/recipes List recipes for directory #
GET /v1/directories/{directoryId}/recipes/{recipeId} Get recipe details #
PATCH /v1/directories/{directoryId}/recipes/{recipeId} Update a recipe #
DELETE /v1/directories/{directoryId}/recipes/{recipeId} Delete a recipe #
GET /v1/directories/{directoryId}/recipes/{recipeId}/preview Preview recipe results without persisting #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/epicdirectories:epicdirectories-recipes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

epicdirectories-recipes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EpicDirectories Recipes API
  description: API-first directory data platform.
  version: '1.0'
  contact: {}
servers:
- url: https://api.epicdirectories.com
  description: Production
- url: http://localhost:3333
  description: Local development
tags:
- name: recipes
paths:
  /v1/directories/{directoryId}/recipes:
    post:
      operationId: RecipesController_create
      summary: Create a new recipe
      parameters:
      - name: directoryId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRecipeDto'
      responses:
        '201':
          description: Recipe created successfully
        '409':
          description: Recipe slug already exists
      tags:
      - recipes
      security:
      - bearer: []
    get:
      operationId: RecipesController_findAll
      summary: List recipes for directory
      parameters:
      - name: directoryId
        required: true
        in: path
        schema:
          type: string
      - name: recipeType
        required: false
        in: query
        description: Filter by recipe type
        schema:
          type: string
      responses:
        '200':
          description: List of recipes
      tags:
      - recipes
      security:
      - bearer: []
  /v1/directories/{directoryId}/recipes/{recipeId}:
    get:
      operationId: RecipesController_findOne
      summary: Get recipe details
      parameters:
      - name: directoryId
        required: true
        in: path
        schema:
          type: string
      - name: recipeId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: Recipe details
        '404':
          description: Recipe not found
      tags:
      - recipes
      security:
      - bearer: []
    patch:
      operationId: RecipesController_update
      summary: Update a recipe
      parameters:
      - name: directoryId
        required: true
        in: path
        schema:
          type: string
      - name: recipeId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateRecipeDto'
      responses:
        '200':
          description: Recipe updated successfully
        '404':
          description: Recipe not found
      tags:
      - recipes
      security:
      - bearer: []
    delete:
      operationId: RecipesController_remove
      summary: Delete a recipe
      parameters:
      - name: directoryId
        required: true
        in: path
        schema:
          type: string
      - name: recipeId
        required: true
        in: path
        schema:
          type: string
      responses:
        '204':
          description: Recipe deleted successfully
        '404':
          description: Recipe not found
      tags:
      - recipes
      security:
      - bearer: []
  /v1/directories/{directoryId}/recipes/{recipeId}/preview:
    get:
      operationId: RecipesController_preview
      summary: Preview recipe results without persisting
      description: Runs the recipe against the current data and returns matching listings. Same shape as the public executeRecipe endpoint; useful for the admin "test" button to validate scope/ranking changes before saving.
      parameters:
      - name: directoryId
        required: true
        in: path
        schema:
          type: string
      - name: recipeId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: Recipe preview with matching listings
        '404':
          description: Recipe not found
      tags:
      - recipes
      security:
      - bearer: []
components:
  schemas:
    UpdateRecipeDto:
      type: object
      properties:
        recipeType:
          type: string
          description: Recipe type (e.g., collection, landing, feed)
        slug:
          type: string
          description: URL-friendly slug
          example: top-restaurants-nyc
        scope:
          type: object
          description: Scope definition - filters for which listings to include
          example:
            listingType: restaurant
            taxonomyTerms:
            - cuisine:italian
        constraints:
          type: object
          description: Constraints for the recipe (e.g., limit, geo bounds)
          example:
            limit: 50
            radius: 10mi
        ranking:
          type: object
          description: Ranking/sorting configuration
          example:
            sortBy: rating
            order: desc
        seo:
          type: object
          description: SEO metadata for the recipe output
          example:
            title: Top Italian Restaurants in NYC
            metaDescription: '...'
    CreateRecipeDto:
      type: object
      properties:
        recipeType:
          type: string
          description: Recipe type (e.g., collection, landing, feed)
        slug:
          type: string
          description: URL-friendly slug
          example: top-restaurants-nyc
        scope:
          type: object
          description: Scope definition - filters for which listings to include
          example:
            listingType: restaurant
            taxonomyTerms:
            - cuisine:italian
        constraints:
          type: object
          description: Constraints for the recipe (e.g., limit, geo bounds)
          example:
            limit: 50
            radius: 10mi
        ranking:
          type: object
          description: Ranking/sorting configuration
          example:
            sortBy: rating
            order: desc
        seo:
          type: object
          description: SEO metadata for the recipe output
          example:
            title: Top Italian Restaurants in NYC
            metaDescription: '...'
      required:
      - recipeType
      - slug
      - scope
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
    apiKey:
      type: apiKey
      in: header
      name: x-api-key