Melvea X402 API

The x402 API from Melvea — 5 operation(s) for x402.

GitHub OpenAPI

Operations 5

GET /v1/catalog Structured catalog of 158 honey varieties: color grade, intensity, flavor… #
GET /v1/varieties/{slug}/citations Per-variety research citations backing compositional and sensory data; each… #
GET /v1/producers Local producer directory of 2458 beekeepers — filter by country, state… #
GET /v1/editorial/{slug} Full Melvea-authored editorial article (of 7 published) with markdown body and… #
POST /v1/recommend Grounded honey recommendations from a flavor/use/occasion intent (taste, not… #

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/melvea-com:melvea-com-x402-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

melvea-com-x402-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Melvea Agent X402 API
  version: 1.0.0
  description: Citation-backed honey intelligence for agents. 158 varieties, 2458 producers, 7 editorial articles. Paid endpoints use x402 (USDC on Base). Melvea IP only — no prices, no affiliate content.
  termsOfService: https://melvea.com/api-terms
  contact:
    email: hello@melvea.com
    url: https://melvea.com
servers:
- url: https://api.melvea.com
tags:
- name: X402
paths:
  /v1/catalog:
    get:
      operationId: catalog
      summary: 'Structured catalog of 158 honey varieties: color grade, intensity, flavor…'
      description: 'Structured catalog of 158 honey varieties: color grade, intensity, flavor profile, texture, use cases, countries, and citation_count. Melvea IP only. Metered via x402 (USDC on Base). Unpaid requests return HTTP 402 with a payment-required header.'
      tags:
      - X402
      responses:
        '200':
          description: Paid success
          content:
            application/json:
              schema:
                type: object
                required:
                - count
                - varieties
                - terms
                properties:
                  count:
                    type: integer
                  varieties:
                    type: array
                    items:
                      type: object
                      properties:
                        slug:
                          type: string
                        name:
                          type: string
                        origin_regions:
                          type: array
                          items:
                            type: string
                        pfund_value:
                          type: number
                        color_grade:
                          type: string
                        intensity_level:
                          type: string
                        flavor_profile_enum:
                          type: string
                        texture:
                          type:
                          - string
                          - 'null'
                        citation_count:
                          type: integer
                  terms:
                    type: string
                    format: uri
              example:
                count: 158
                varieties:
                - slug: manuka
                  name: Manuka
                  origin_regions:
                  - New Zealand
                  pfund_value: 95
                  color_grade: Amber
                  intensity_level: bold
                  flavor_profile_enum: complex
                  texture: liquid
                  citation_count: 5
                terms: https://melvea.com/api-terms
        '402':
          description: Payment Required — x402 challenge in the payment-required response header
          content:
            application/json:
              schema:
                type: object
              example: {}
      x-x402:
        price: $0.05
        network: eip155:8453
        asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
        terms: https://melvea.com/api-terms
  /v1/varieties/{slug}/citations:
    get:
      operationId: citations
      summary: Per-variety research citations backing compositional and sensory data; each…
      description: Per-variety research citations backing compositional and sensory data; each resolvable to a published source (DOI/PMID). Metered via x402 (USDC on Base). Unpaid requests return HTTP 402 with a payment-required header.
      tags:
      - X402
      responses:
        '200':
          description: Paid success
          content:
            application/json:
              schema:
                type: object
                required:
                - variety_slug
                - citation_count
                - citations
                - terms
                properties:
                  variety_slug:
                    type: string
                  definition:
                    type:
                    - string
                    - 'null'
                  definition_class:
                    type:
                    - string
                    - 'null'
                  citation_count:
                    type: integer
                  citations:
                    type: array
                    items:
                      type: object
                  terms:
                    type: string
                    format: uri
              example:
                variety_slug: manuka
                citation_count: 5
                citations:
                - backs: physicochemical
                  year: 2008
                  doi: 10.1002/mnfr.200700282
                terms: https://melvea.com/api-terms
        '402':
          description: Payment Required — x402 challenge in the payment-required response header
          content:
            application/json:
              schema:
                type: object
              example: {}
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
        description: Variety slug
      x-x402:
        price: $0.03
        network: eip155:8453
        asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
        terms: https://melvea.com/api-terms
  /v1/producers:
    get:
      operationId: producers
      summary: Local producer directory of 2458 beekeepers — filter by country, state…
      description: Local producer directory of 2458 beekeepers — filter by country, state, proximity, or honey type. At least one filter required. Metered via x402 (USDC on Base). Unpaid requests return HTTP 402 with a payment-required header.
      tags:
      - X402
      responses:
        '200':
          description: Paid success
          content:
            application/json:
              schema:
                type: object
                required:
                - query
                - count
                - producers
                - attribution
                properties:
                  query:
                    type: object
                  count:
                    type: integer
                  producers:
                    type: array
                    items:
                      type: object
                  attribution:
                    type: string
              example:
                query:
                  state: NC
                  honey_type: wildflower
                  limit: 25
                count: 1
                producers:
                - id: 123
                  name: Asheville Bee Charmer
                  slug: asheville-bee-charmer
                  state_code: NC
                attribution: Melvea producer directory
        '402':
          description: Payment Required — x402 challenge in the payment-required response header
          content:
            application/json:
              schema:
                type: object
              example: {}
      parameters:
      - name: country
        in: query
        schema:
          type: string
        description: ISO-2 country code
      - name: state
        in: query
        schema:
          type: string
        description: Full state name or 2-letter code
      - name: near
        in: query
        schema:
          type: string
        description: lat,lon for proximity search
      - name: radius_km
        in: query
        schema:
          type: number
        description: Radius for near=, default 100
      - name: honey_type
        in: query
        schema:
          type: string
      - name: limit
        in: query
        schema:
          type: number
        description: Default 25, max 100
      x-x402:
        price: $0.03
        network: eip155:8453
        asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
        terms: https://melvea.com/api-terms
  /v1/editorial/{slug}:
    get:
      operationId: editorial
      summary: Full Melvea-authored editorial article (of 7 published) with markdown body and…
      description: Full Melvea-authored editorial article (of 7 published) with markdown body and entity pointers into paid surfaces. Metered via x402 (USDC on Base). Unpaid requests return HTTP 402 with a payment-required header.
      tags:
      - X402
      responses:
        '200':
          description: Paid success
          content:
            application/json:
              schema:
                type: object
                required:
                - slug
                - title
                - body_md
                - entities
                - terms
                properties:
                  slug:
                    type: string
                  title:
                    type: string
                  dek:
                    type:
                    - string
                    - 'null'
                  desk:
                    type: string
                  published_at:
                    type:
                    - string
                    - 'null'
                  body_md:
                    type: string
                  entities:
                    type: array
                    items:
                      type: object
                  claims:
                    type: array
                    items:
                      type: object
                  terms:
                    type: string
                    format: uri
              example:
                slug: the-most-marketed-honey-on-earth
                title: The Most Marketed Honey on Earth
                desk: fine-print
                body_md: '## What it is


                  Manuka is a monofloral honey …'
                entities:
                - type: variety_citations
                  slug: manuka
                  endpoint: /v1/varieties/manuka/citations
                  price: $0.03
                terms: https://melvea.com/api-terms
        '402':
          description: Payment Required — x402 challenge in the payment-required response header
          content:
            application/json:
              schema:
                type: object
              example: {}
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
        description: Article slug
      x-x402:
        price: $0.02
        network: eip155:8453
        asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
        terms: https://melvea.com/api-terms
  /v1/recommend:
    post:
      operationId: recommend
      summary: Grounded honey recommendations from a flavor/use/occasion intent (taste, not…
      description: Grounded honey recommendations from a flavor/use/occasion intent (taste, not health). Metered via x402 (USDC on Base). Unpaid requests return HTTP 402 with a payment-required header.
      tags:
      - X402
      responses:
        '200':
          description: Paid success
          content:
            application/json:
              schema:
                type: object
                required:
                - intent
                - results
                properties:
                  intent:
                    type: string
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        variety_name:
                          type: string
                        slug:
                          type: string
                        reason:
                          type: string
                  note:
                    type: string
              example:
                intent: mild floral honey for a holiday gift
                results:
                - variety_name: Acacia
                  slug: acacia
                  reason: Delicate, light floral profile; a mild crowd-pleaser well suited to gifting.
        '402':
          description: Payment Required — x402 challenge in the payment-required response header
          content:
            application/json:
              schema:
                type: object
              example: {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - intent
              properties:
                intent:
                  type: string
                  description: Free-text flavor/use/occasion intent
                max_results:
                  type: number
                  description: Optional, default 3, max 5
            example:
              intent: mild floral honey for a holiday gift
              max_results: 3
      x-x402:
        price: $0.10
        network: eip155:8453
        asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
        terms: https://melvea.com/api-terms
components:
  securitySchemes:
    x402:
      type: http
      scheme: bearer
      description: x402 payment. Unpaid requests receive HTTP 402 with a base64 payment-required header; resubmit with X-PAYMENT / payment-signature.