← oblique.markets · all endpoints

POST /api/v1/paid/inference — $0.01 per call

Use when an agent wants a chat completion paid per call with no API key, on Base or Solana. Returns Chat completion from six catalogued models with usage and settled charge. $0.01.

Price$0.01 per call (10000 atomic USDC, scheme exact)
Categoryutility
Railsx402 · USDC on Base (eip155:8453) and Solana · MPP pathUSD on Tempo
Canonical URLhttps://api.oblique.markets/api/v1/paid/inference

Try it

curl -i https://api.oblique.markets/api/v1/paid/inference
# → HTTP 402 with the exact payment requirements; pay, then retry with PAYMENT-SIGNATURE (x402) or Authorization: Payment (MPP)

Input schema

{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "default": "deepseek/deepseek-v4-flash",
   "description": "Model ID (see /api/v1/models)"
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object"
   },
   "description": "Chat messages array",
   "examples": [
    [
     {
      "role": "user",
      "content": "Say hello in five words."
     }
    ]
   ]
  },
  "stream": {
   "type": "boolean",
   "default": false,
   "description": "Enable SSE streaming"
  }
 },
 "required": [
  "messages"
 ]
}

Example output

{
 "id": "gen-1789171942-4eZlZ1R9FNzHB7l9nTCc",
 "object": "chat.completion",
 "created": 1789171942,
 "model": "deepseek/deepseek-v4-flash",
 "choices": [
  {
   "index": 0,
   "finish_reason": "stop",
   "message": {
    "role": "assistant",
    "content": "Hello! How can I help you?"
   }
  }
 ],
 "usage": {
  "prompt_tokens": 10,
  "completion_tokens": 9,
  "total_tokens": 19,
  "cost": 0.00000252
 },
 "payment_info": {
  "charged_usdc": 0.01,
  "authorized_max_usdc": 0.01,
  "payment_scheme": "exact",
  "usage_cost_estimate_usd": 0.000011,
  "message": "Fixed-price payment settled via x402 protocol"
 }
}

Clients

Worked TypeScript/Python clients and MCP configs: oblique-markets/oblique-examples · Agent Skills: oblique-markets/skills

Pay per call with x402 (USDC on Base or Solana) or MPP (pathUSD on Tempo). No accounts. Machine doors: /.well-known/x402.json · /openapi.json · /llms-full.txt · MCP · humans: remote.observer