Livestock Market Prices Prices API

The Prices API from Livestock Market Prices — 1 operation(s) for prices.

GitHub OpenAPI

Operations 1

GET /api/v1/prices List reviewed public price observations #

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/livestockmarketprices-com:livestockmarketprices-com-prices-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

livestockmarketprices-com-prices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Livestock Market public Prices API
  version: 1.3.0-alpha.1
  description: Read reviewed, rights-approved livestock observations from one coherent dataset release, with exact decimal strings and source citations. Reuse requires preserving the original source name and exact link and prohibits presenting source observations or LMP-derived results as the user's own original data.
  termsOfService: https://livestockmarketprices.com/terms#terms-sources
servers:
- url: https://livestockmarketprices.com
tags:
- name: Prices
paths:
  /api/v1/prices:
    get:
      operationId: listPrices
      summary: List reviewed public price observations
      parameters:
      - name: species
        in: query
        schema:
          type: string
          enum:
          - goat
          - sheep
          - cattle
      - name: class
        in: query
        schema:
          type: string
          enum:
          - unclassified_goats
          - unclassified_sheep
          - kids
          - nannies_does
          - bucks_billies
          - wethers_muttons
          - lambs
          - ewes
          - rams_bucks
          - steers
          - heifers
          - cows
          - bulls
          - calves
          - cow_calf_pairs
          - other_cattle
      - name: purpose
        in: query
        schema:
          type: string
          enum:
          - slaughter
          - replacement
          - stocker
          - feeder
          - show
          - breeding
      - name: breed_type
        in: query
        schema:
          type: string
          enum:
          - meat_goat
          - dairy_miniature
          - angora
          - hair_sheep
          - wool_sheep
          - beef_cattle
          - dairy_cattle
          - crossbred_cattle
      - name: weight_band
        in: query
        schema:
          type: string
          enum:
          - unreported
          - 20-39
          - 40-59
          - 60-79
          - 80-109
          - 110-plus
          - under-300
          - 300-399
          - 400-499
          - 500-599
          - 600-699
          - 700-799
          - 800-999
          - 1000-plus
      - name: location
        in: query
        description: 'Namespaced published location selector: all, state:CC:AA, region:ID, or market:ID'
        schema:
          type: string
          pattern: ^(?:all|state:[A-Z]{2}:[A-Z0-9]{2,3}|region:[A-Za-z0-9][A-Za-z0-9._:-]{0,127}|market:[A-Za-z0-9][A-Za-z0-9._:-]{0,127})$
      - name: weight_lb
        in: query
        description: Exact positive decimal pounds, at most 5000
        schema:
          type: string
          pattern: ^(?:0|[1-9]\d{0,3})(?:\.\d{1,9})?$
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 25
      - name: cursor
        in: query
        schema:
          type: string
          maxLength: 1024
      responses:
        '200':
          description: Published observations
          headers:
            ETag:
              description: Release- and request-specific validator
              schema:
                type: string
            X-LMP-Dataset-Revision:
              description: Coherent public release key
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricesResponse'
        '304':
          description: The supplied ETag still matches
        '400':
          description: Structured public API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: No published observations match the valid filters (NO_MATCHING_PRICES)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NoMatchingPricesError'
        '409':
          description: The cursor belongs to a different dataset release (STALE_CURSOR)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StaleCursorError'
        '503':
          description: Structured public API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
      - Prices
components:
  schemas:
    Meta:
      type: object
      required:
      - api_version
      - dataset_revision
      - methodology_version
      - applied_filters
      - next_cursor
      - generated_at
      additionalProperties: false
      properties:
        api_version:
          type: string
          const: 1.3.0-alpha.1
        dataset_revision:
          type: string
        methodology_version:
          type: string
        applied_filters:
          type: object
          additionalProperties:
            oneOf:
            - type: string
            - type: number
        next_cursor:
          type:
          - string
          - 'null'
        generated_at:
          type: string
          format: date-time
    PriceObservation:
      type: object
      description: A normalized observation with exact weight/price strings, all reported quote records, and release/source provenance.
      required:
      - id
      - report_id
      - market
      - sale_date
      - report_status
      - species
      - classification
      - normalized_class
      - raw_class
      - qualifiers
      - weight
      - quote
      - quotes
      - head_count
      - head_count_scope
      - boundary_semantics
      - provenance
      - citation
      properties:
        id:
          type: string
        report_id:
          type: string
        market:
          type: object
          additionalProperties: true
        sale_date:
          type: string
          format: date
        report_status:
          type: string
          enum:
          - preliminary
          - final
          - corrected
        species:
          type: string
          enum:
          - goat
          - sheep
          - cattle
        classification:
          type: object
          additionalProperties: false
          required:
          - category_key
          - class_code
          - purpose_code
          - breed_type_code
          - sex_code
          - life_stage_code
          - quality_grade_code
          properties:
            category_key:
              type: string
            class_code:
              type: string
              enum:
              - unclassified_goats
              - unclassified_sheep
              - kids
              - nannies_does
              - bucks_billies
              - wethers_muttons
              - lambs
              - ewes
              - rams_bucks
              - steers
              - heifers
              - cows
              - bulls
              - calves
              - cow_calf_pairs
              - other_cattle
            purpose_code:
              type: string
              enum:
              - slaughter
              - replacement
              - stocker
              - feeder
              - show
              - breeding
              - unknown
            breed_type_code:
              type: string
              enum:
              - meat_goat
              - dairy_miniature
              - angora
              - hair_sheep
              - wool_sheep
              - beef_cattle
              - dairy_cattle
              - crossbred_cattle
              - not_reported
            sex_code:
              type: string
              pattern: ^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$
            life_stage_code:
              type: string
              pattern: ^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$
            quality_grade_code:
              type: string
              pattern: ^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$
        normalized_class:
          type: string
        raw_class:
          type: string
        qualifiers:
          type: array
          items:
            type: string
        unit_inference:
          type: object
          additionalProperties: false
          description: LMP-applied unit assumption. Evidence score is a rule rubric, not a probability; source_value remains null.
          required:
          - code
          - rule
          - field
          - source_value
          - applied_value
          - evidence_score
          - score_is_probability
          - explanation
          properties:
            code:
              const: inferred_quotation_unit
            rule:
              type: string
              enum:
              - cattlemens-unit-v1
              - pearsall-unit-v1
              - gonzales-unit-v1
              - brazos-valley-unit-v1
              - columbus-unit-v1
              - caldwell-unit-v1
              - comanche-unit-v1
              - four-county-unit-v1
              - coryell-unit-v1
              - center-unit-v1
              - hallettsville-unit-v1
              - wichita-unit-v1
              - hondo-unit-v1
              - east-texas-unit-v1
              - edinburg-unit-v1
              - decatur-unit-v1
              - beeville-unit-v1
              - abilene-unit-v1
            field:
              const: quotation_unit
            source_value:
              type: 'null'
            applied_value:
              type: string
              enum:
              - per_cwt
              - per_lb
              - per_head
              - per_pair
            evidence_score:
              const: 85
            score_is_probability:
              const: false
            explanation:
              type: string
              maxLength: 500
        weight:
          type: object
          additionalProperties: true
        quote:
          type: object
          additionalProperties: true
          required:
          - currency
          - unit
          - measurement_basis
          properties:
            currency:
              type: string
              const: USD
            unit:
              type: string
              enum:
              - USD_PER_CWT
              - USD_PER_LB
              - USD_PER_HEAD
              - USD_PER_PAIR
            measurement_basis:
              type: string
              enum:
              - liveweight
              - other
        quotes:
          type: array
          items:
            type: object
            additionalProperties: true
        head_count:
          type:
          - integer
          - 'null'
          minimum: 0
        head_count_scope:
          type:
          - string
          - 'null'
        boundary_semantics:
          type: object
          required:
          - lower
          - upper
          additionalProperties: false
          properties:
            lower:
              type: string
              enum:
              - inclusive
              - exclusive
              - unspecified
              - open
            upper:
              type: string
              enum:
              - inclusive
              - exclusive
              - unspecified
              - open
        provenance:
          type: object
          additionalProperties: true
        citation:
          $ref: '#/components/schemas/Citation'
    NoMatchingPricesError:
      allOf:
      - $ref: '#/components/schemas/ApiError'
      - type: object
        required:
        - error
        properties:
          error:
            type: object
            required:
            - code
            - details
            properties:
              code:
                type: string
                const: NO_MATCHING_PRICES
              details:
                type: object
                required:
                - applied_filters
                - dataset_revision
                additionalProperties: false
                properties:
                  applied_filters:
                    type: object
                    additionalProperties:
                      oneOf:
                      - type: string
                      - type: number
                  dataset_revision:
                    type: string
                    minLength: 1
    Citation:
      type: object
      properties:
        publisher_name:
          type: string
          const: Livestock Market Prices
        canonical_url:
          type: string
          format: uri
        primary_sources:
          minItems: 1
          type: array
          items:
            type: object
            properties:
              publisher_name:
                type: string
                minLength: 1
              report_url:
                type: string
                format: uri
            required:
            - publisher_name
            - report_url
            additionalProperties: false
        sale_dates:
          minItems: 1
          type: array
          items:
            type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
        retrieved_at:
          type: string
          format: date-time
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
        dataset_revision:
          type: string
          minLength: 1
        methodology_version:
          type: string
          minLength: 1
        statistic_type:
          type: string
          enum:
          - reported_range
          - reported_average
          - reported_weighted_average
          - publisher_top_of_market_range
          - derived_midpoint
          - derived_valuation
        attribution_text:
          type: string
          minLength: 1
        rights_url:
          type: string
          format: uri
        use_requirements:
          type: object
          properties:
            source_attribution_required:
              type: boolean
              const: true
            source_link_required:
              type: boolean
              const: true
            claim_as_original_data_prohibited:
              type: boolean
              const: true
            terms_url:
              type: string
              const: https://livestockmarketprices.com/terms#terms-sources
          required:
          - source_attribution_required
          - source_link_required
          - claim_as_original_data_prohibited
          - terms_url
          additionalProperties: false
      required:
      - publisher_name
      - canonical_url
      - primary_sources
      - sale_dates
      - retrieved_at
      - dataset_revision
      - methodology_version
      - statistic_type
      - attribution_text
      - rights_url
      - use_requirements
      additionalProperties: false
    PricesResponse:
      type: object
      required:
      - data
      - meta
      - citation
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/PriceObservation'
        meta:
          $ref: '#/components/schemas/Meta'
        citation:
          $ref: '#/components/schemas/Citation'
    StaleCursorError:
      allOf:
      - $ref: '#/components/schemas/ApiError'
      - type: object
        required:
        - error
        properties:
          error:
            type: object
            required:
            - code
            - details
            properties:
              code:
                type: string
                const: STALE_CURSOR
              details:
                type: object
                required:
                - cursor_dataset_revision
                - current_dataset_revision
                additionalProperties: false
                properties:
                  cursor_dataset_revision:
                    type: string
                    minLength: 1
                  current_dataset_revision:
                    type: string
                    minLength: 1
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              minLength: 1
            message:
              type: string
              minLength: 1
            details: {}
            request_id:
              type: string
              minLength: 1
          required:
          - code
          - message
          - request_id
          additionalProperties: false
      required:
      - error
      additionalProperties: false
  securitySchemes:
    memberSession:
      type: apiKey
      in: cookie
      name: lmp_session
      description: A signed-in LMP Member or Pro session.
externalDocs:
  description: Citation and source-preservation guidance
  url: https://livestockmarketprices.com/citations