Crafting Event Finder Preferences API

The preferences API from Crafting Event Finder — 1 operation(s) for preferences.

GitHub OpenAPI

Operations 4

1 of 4 operations are conformant: apis.io called them with no credentials and the responses matched this contract. Checked 2026-11-12. how this works · status file

GET /api/preferences Get my effective search preferences conformant #
PUT /api/preferences Save my search preferences #
PATCH /api/preferences Change some of my search preferences #
DELETE /api/preferences Reset my search preferences to defaults #

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/craftingeventfinder-com:craftingeventfinder-com-preferences-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

craftingeventfinder-com-preferences-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Crafting Event Finder Preferences API
  version: 1.0.0
  description: Everything the site does is available here, and as MCP tools at /api/mcp.
servers:
- url: https://craftingeventfinder.com
tags:
- name: Preferences
paths:
  /api/preferences:
    get:
      summary: Get my effective search preferences
      description: The account's preferences when signed in, otherwise the cef_prefs cookie's, otherwise smart defaults.
      tags:
      - Preferences
      security: []
      responses:
        '200':
          description: 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PreferencesState'
        '503':
          description: 503 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      operationId: getApiPreferences
      x-operation-id-source: derived
    put:
      summary: Save my search preferences
      description: Sets the cef_prefs cookie for everyone, and syncs to the account when signed in.
      tags:
      - Preferences
      security: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Preferences'
      responses:
        '200':
          description: 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PreferencesResult'
        '400':
          description: 400 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '503':
          description: 503 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      operationId: putApiPreferences
      x-operation-id-source: derived
    patch:
      summary: Change some of my search preferences
      description: 'Any subset of the preference fields (for example { "showOnline": false }, the ''Show online events'' switch), laid over the caller''s current preferences (the account''s when signed in, else the cef_prefs cookie''s, else the defaults). Sets the cookie for everyone and syncs to the account when signed in, like PUT.'
      tags:
      - Preferences
      security: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PreferencesPatch'
      responses:
        '200':
          description: 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PreferencesResult'
        '400':
          description: 400 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '503':
          description: 503 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      operationId: patchApiPreferences
      x-operation-id-source: derived
    delete:
      summary: Reset my search preferences to defaults
      description: Clears the cef_prefs cookie, and the account copy when signed in.
      tags:
      - Preferences
      security: []
      responses:
        '200':
          description: 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PreferencesResult'
        '503':
          description: 503 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      operationId: deleteApiPreferences
      x-operation-id-source: derived
components:
  schemas:
    PreferencesState:
      type: object
      properties:
        preferences:
          $ref: '#/components/schemas/Preferences'
        source:
          type: string
          enum:
          - account
          - cookie
          - default
      required:
      - preferences
      - source
    Preferences:
      type: object
      properties:
        crafts:
          type: array
          items:
            type: string
            pattern: ^[a-z0-9-]{2,40}$
          maxItems: 20
        formats:
          type: array
          items:
            type: string
            enum:
            - in_person
            - online
          minItems: 1
          maxItems: 2
        freeOnly:
          type: boolean
        when:
          type: string
          enum:
          - weekend
          - next30
          - next90
        place:
          type:
          - object
          - 'null'
          properties:
            label:
              type: string
              minLength: 1
              maxLength: 100
              pattern: ^[^\x00-\x1F\x7F]*$
          required:
          - label
        radius:
          anyOf:
          - type: number
            enum:
            - 25
          - type: number
            enum:
            - 50
          - type: number
            enum:
            - 100
          - type: number
            enum:
            - 250
        sort:
          type: string
          enum:
          - date
          - distance
          description: 'The results'' order: date (soonest first, the default when missing) or distance (nearest first, used only with a place).'
        showOnline:
          type: boolean
          description: 'The ''Show online events'' switch: the Online events band under local results (true, the default when missing) or one quiet line instead (false).'
      required:
      - crafts
      - formats
      - freeOnly
      - when
      - place
      - radius
    PreferencesPatch:
      type: object
      properties:
        crafts:
          type: array
          items:
            type: string
            pattern: ^[a-z0-9-]{2,40}$
          maxItems: 20
        formats:
          type: array
          items:
            type: string
            enum:
            - in_person
            - online
          minItems: 1
          maxItems: 2
        freeOnly:
          type: boolean
        when:
          type: string
          enum:
          - weekend
          - next30
          - next90
        place:
          type:
          - object
          - 'null'
          properties:
            label:
              type: string
              minLength: 1
              maxLength: 100
              pattern: ^[^\x00-\x1F\x7F]*$
          required:
          - label
        radius:
          anyOf:
          - type: number
            enum:
            - 25
          - type: number
            enum:
            - 50
          - type: number
            enum:
            - 100
          - type: number
            enum:
            - 250
        sort:
          type: string
          enum:
          - date
          - distance
          description: 'The results'' order: date (soonest first, the default when missing) or distance (nearest first, used only with a place).'
        showOnline:
          type: boolean
          description: 'The ''Show online events'' switch: the Online events band under local results (true, the default when missing) or one quiet line instead (false).'
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            details: {}
          required:
          - code
          - message
      required:
      - error
    PreferencesResult:
      type: object
      properties:
        preferences:
          $ref: '#/components/schemas/Preferences'
      required:
      - preferences
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key from /admin/api-keys: Authorization: Bearer cef_<scope>_...'
    cookieAuth:
      type: apiKey
      in: cookie
      name: cef_session