ModelMarket Ai Market API
The Ai Market API from ModelMarket — 10 operation(s) for ai market.
The Ai Market API from ModelMarket — 10 operation(s) for ai market.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/modelmarket-dev:modelmarket-dev-ai-market-api"
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.
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: 3.2.0
info:
title: Modelmarket Dev Ai Market API
version: '1.0'
description: 'Operations tagged Ai Market across 2 of this provider''s published API definitions: atlas-modelmarket-dev-openapi.json, modelmarket-dev-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Ai Market
paths:
/ai-market/v2/manifest:
get:
summary: Aimarket Manifest
operationId: aimarket_manifest_ai_market_v2_manifest_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Aimarket Manifest Ai Market V2 Manifest Get
tags:
- Ai Market
/ai-market/v2/accounts:
post:
summary: Credits Create Account
description: 'Mint a prepaid account. Operator-only, and open signup is deliberately absent.
The hub lets a stranger mint their own zero-balance key because its whole job is to be
discovered. ATLAS is one publisher inside that market: a buyer who wants self-serve goes
to the hub, and an account here is something the operator hands to a counterparty it has
agreed terms with. No signup means no grant budget to defend and no farmed keys.
Works with the rail switched off on purpose, so accounts and keys can be in place BEFORE
``ATLAS_CREDITS_ENABLED=1``. Flipping it first would put every buyer holding a not-yet-
issued key onto the anonymous free allowance at the moment they expected to be charged.'
operationId: credits_create_account_ai_market_v2_accounts_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreditAccountBody'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Credits Create Account Ai Market V2 Accounts Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Market
/ai-market/v2/accounts/{account_id}/topup:
post:
summary: Credits Topup
description: Add credit to an account once the operator has the money.
operationId: credits_topup_ai_market_v2_accounts__account_id__topup_post
parameters:
- name: account_id
in: path
required: true
schema:
type: string
title: Account Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreditTopupBody'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Credits Topup Ai Market V2 Accounts Account Id Topup Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Market
/ai-market/v2/accounts/{account_id}/status:
post:
summary: Credits Set Status
description: 'Disable (or re-enable) an account — the answer to a leaked key.
Disabling stops new reservations and leaves the balance intact, because the money is
still the buyer''s: a leaked key is a reason to stop spending it, not to confiscate it.'
operationId: credits_set_status_ai_market_v2_accounts__account_id__status_post
parameters:
- name: account_id
in: path
required: true
schema:
type: string
title: Account Id
- name: status
in: query
required: false
schema:
type: string
default: disabled
title: Status
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Credits Set Status Ai Market V2 Accounts Account Id Status Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Market
/ai-market/v2/accounts/me:
get:
summary: Credits Whoami
description: 'What the holder of this key can see: their own balance and spend, nothing else.
A buyer that cannot read its own balance can only discover it has run out by being
refused mid-run, which for an unattended desk means a customer''s run failing before its
operator hears about the money.'
operationId: credits_whoami_ai_market_v2_accounts_me_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Credits Whoami Ai Market V2 Accounts Me Get
tags:
- Ai Market
/ai-market/v2/credits/stats:
get:
summary: Credits Stats
description: Rail totals, including what the operator is holding for other people.
operationId: credits_stats_ai_market_v2_credits_stats_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Credits Stats Ai Market V2 Credits Stats Get
tags:
- Ai Market
/ai-market/v2/invoke:
post:
summary: Aimarket Invoke
description: Hub-compatible invoke for ATLAS composite products.
operationId: aimarket_invoke_ai_market_v2_invoke_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ProductInvokeBody'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Aimarket Invoke Ai Market V2 Invoke Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Market
/ai-market/v2/operations/prepare:
post:
summary: Quote
operationId: quote_ai_market_v2_operations_prepare_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QuoteRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Market
/ai-market/v2/operations/{operation_id}:
get:
summary: Status
operationId: status_ai_market_v2_operations__operation_id__get
parameters:
- name: operation_id
in: path
required: true
schema:
type: string
title: Operation Id
- name: x-operation-token
in: header
required: false
schema:
type: string
default: ''
title: X-Operation-Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Market
/ai-market/v2/operations/{operation_id}/invoke:
post:
summary: Execute
operationId: execute_ai_market_v2_operations__operation_id__invoke_post
parameters:
- name: operation_id
in: path
required: true
schema:
type: string
title: Operation Id
- name: x-operation-token
in: header
required: false
schema:
type: string
default: ''
title: X-Operation-Token
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ExecuteRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Market
components:
schemas:
CreditAccountBody:
properties:
label:
type: string
maxLength: 120
title: Label
default: ''
grant_usd:
type: number
maximum: 10000.0
minimum: 0.0
title: Grant Usd
default: 0.0
type: object
title: CreditAccountBody
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
CreditTopupBody:
properties:
amount_usd:
type: number
maximum: 10000.0
exclusiveMinimum: 0.0
title: Amount Usd
reference:
type: string
maxLength: 200
title: Reference
default: ''
note:
type: string
maxLength: 200
title: Note
default: ''
type: object
required:
- amount_usd
title: CreditTopupBody
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
ProductInvokeBody:
properties:
capability_id:
type: string
maxLength: 128
minLength: 3
title: Capability Id
input:
additionalProperties: true
type: object
title: Input
type: object
required:
- capability_id
title: ProductInvokeBody
ExecuteRequest:
properties:
input:
additionalProperties: true
type: object
title: Input
wallet:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
title: Wallet
default: '0x0000000000000000000000000000000000000000'
tx_hash:
anyOf:
- type: string
pattern: ^0x[0-9a-fA-F]{64}$
- type: 'null'
title: Tx Hash
additionalProperties: false
type: object
required:
- input
title: ExecuteRequest
QuoteRequest:
properties:
product_id:
type: string
maxLength: 128
minLength: 1
title: Product Id
capability_id:
type: string
maxLength: 128
minLength: 1
title: Capability Id
wallet:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
title: Wallet
default: '0x0000000000000000000000000000000000000000'
max_price_usd:
type: number
maximum: 100000.0
minimum: 0.0
title: Max Price Usd
additionalProperties: false
type: object
required:
- product_id
- capability_id
- max_price_usd
title: QuoteRequest
x-refined-from:
- atlas-modelmarket-dev-openapi.json
- modelmarket-dev-openapi.json