ModelMarket Data API

The data API from ModelMarket — 3 operation(s) for data.

GitHub OpenAPI

Operations 3

POST /x402/weather-now Current weather at a place: temperature (°C), humidity (%), pressure (hPa) and… #
POST /x402/air-quality-now Current air quality at a place: PM2.5 and PM10 (µg/m³), US and European AQI… #
POST /x402/nearby-sensors The nearest live public sensors to a point, one per layer asked for (weather… #

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/modelmarket-dev:modelmarket-dev-data-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

modelmarket-dev-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: modelmarket.dev — AIMarket Hub v3 Data API
  description: Lean federation hub for AI capability discovery and routing. Plugins extend functionality.
  version: 3.21.0
tags:
- name: Data
paths:
  /x402/weather-now:
    post:
      operationId: weatherNow
      summary: 'Current weather at a place: temperature (°C), humidity (%), pressure (hPa) and…'
      description: 'Current weather at a place: temperature (°C), humidity (%), pressure (hPa) and wind (m/s) from the nearest live Open-Meteo relay within 75 km, with a signed receipt. Send latitude and longitude, or a city.'
      tags:
      - Data
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.001'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: USDC
            payTo: '0x1218ff36C5d2e3B6A565CdB1A8B1AcCFc606Ad0a'
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                latitude:
                  type: number
                  description: latitude in degrees (-90..90)
                longitude:
                  type: number
                  description: longitude in degrees (-180..180)
                city:
                  type: string
                  description: a city instead of coordinates, e.g. Tokyo
            example:
              latitude: 52.52
              longitude: 13.405
      responses:
        '200':
          description: The result (paid).
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: ok
                  service:
                    type: string
                    const: weather-now
                  capability_id:
                    type: string
                    const: gaia.weather.read@v1
                  result:
                    type: object
                    description: the capability's output as the source hub returns it
                  receipt:
                    type:
                    - object
                    - 'null'
                    description: the hub's signed receipt for the call
                required:
                - status
                - service
                - capability_id
                - result
              example:
                status: ok
                service: weather-now
                capability_id: gaia.weather.read@v1
                result: {}
                receipt: {}
        '400':
          description: 'Missing or invalid input. Not settled: the buyer pays nothing.'
        '402':
          description: 'Payment required: the x402 V2 terms are in the PAYMENT-REQUIRED header.'
          headers:
            PAYMENT-REQUIRED:
              schema:
                type: string
              description: base64 JSON x402 payment terms
        '429':
          description: Per-caller rate limit.
        '502':
          description: The upstream service failed. Not settled.
  /x402/air-quality-now:
    post:
      operationId: airQualityNow
      summary: 'Current air quality at a place: PM2.5 and PM10 (µg/m³), US and European AQI…'
      description: 'Current air quality at a place: PM2.5 and PM10 (µg/m³), US and European AQI, from Copernicus CAMS via Open-Meteo, with a signed receipt. Send latitude and longitude, or a city.'
      tags:
      - Data
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.001'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: USDC
            payTo: '0x1218ff36C5d2e3B6A565CdB1A8B1AcCFc606Ad0a'
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                latitude:
                  type: number
                  description: latitude in degrees (-90..90)
                longitude:
                  type: number
                  description: longitude in degrees (-180..180)
                city:
                  type: string
                  description: a city instead of coordinates, e.g. Tokyo
            example:
              city: Paris
      responses:
        '200':
          description: The result (paid).
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: ok
                  service:
                    type: string
                    const: air-quality-now
                  capability_id:
                    type: string
                    const: gaia.air.read@v1
                  result:
                    type: object
                    description: the capability's output as the source hub returns it
                  receipt:
                    type:
                    - object
                    - 'null'
                    description: the hub's signed receipt for the call
                required:
                - status
                - service
                - capability_id
                - result
              example:
                status: ok
                service: air-quality-now
                capability_id: gaia.air.read@v1
                result: {}
                receipt: {}
        '400':
          description: 'Missing or invalid input. Not settled: the buyer pays nothing.'
        '402':
          description: 'Payment required: the x402 V2 terms are in the PAYMENT-REQUIRED header.'
          headers:
            PAYMENT-REQUIRED:
              schema:
                type: string
              description: base64 JSON x402 payment terms
        '429':
          description: Per-caller rate limit.
        '502':
          description: The upstream service failed. Not settled.
  /x402/nearby-sensors:
    post:
      operationId: nearbySensors
      summary: The nearest live public sensors to a point, one per layer asked for (weather…
      description: The nearest live public sensors to a point, one per layer asked for (weather, air, radiation, quake …), each with its reading, distance and source, and a signed receipt.
      tags:
      - Data
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.03'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: USDC
            payTo: '0x1218ff36C5d2e3B6A565CdB1A8B1AcCFc606Ad0a'
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                latitude:
                  type: number
                  description: latitude in degrees (-90..90)
                longitude:
                  type: number
                  description: longitude in degrees (-180..180)
                layers:
                  type: array
                  description: sensor layers, e.g. ["weather","air"]; default weather
                max_km:
                  type: number
                  description: refuse sensors farther than this
              required:
              - latitude
              - longitude
            example:
              latitude: 35.68
              longitude: 139.69
              layers:
              - weather
              - air
      responses:
        '200':
          description: The result (paid).
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: ok
                  service:
                    type: string
                    const: nearby-sensors
                  capability_id:
                    type: string
                    const: atlas.nearest.read@v1
                  result:
                    type: object
                    description: the capability's output as the source hub returns it
                  receipt:
                    type:
                    - object
                    - 'null'
                    description: the hub's signed receipt for the call
                required:
                - status
                - service
                - capability_id
                - result
              example:
                status: ok
                service: nearby-sensors
                capability_id: atlas.nearest.read@v1
                result: {}
                receipt: {}
        '400':
          description: 'Missing or invalid input. Not settled: the buyer pays nothing.'
        '402':
          description: 'Payment required: the x402 V2 terms are in the PAYMENT-REQUIRED header.'
          headers:
            PAYMENT-REQUIRED:
              schema:
                type: string
              description: base64 JSON x402 payment terms
        '429':
          description: Per-caller rate limit.
        '502':
          description: The upstream service failed. Not settled.