← oblique.markets · all endpoints

POST /api/v1/paid/chat-completion — $0.01 per call

Use when an agent needs chat completion. Returns One bounded chat completion (standard messages request shape) per paid call, with no account to open and no provider key to hold; max 24,000 input characters and 600 output tokens. $0.01.

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

Try it

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

Input schema

{
 "type": "object",
 "required": [
  "messages"
 ],
 "additionalProperties": false,
 "properties": {
  "messages": {
   "type": "array",
   "minItems": 1,
   "maxItems": 32,
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "type": "string",
      "enum": [
       "system",
       "user",
       "assistant"
      ]
     },
     "content": {
      "type": "string"
     }
    }
   }
  },
  "max_tokens": {
   "type": "integer",
   "minimum": 1,
   "maximum": 600,
   "default": 600
  }
 }
}

Example input

{
 "body": {
  "messages": [
   {
    "role": "user",
    "content": "What is x402?"
   }
  ],
  "max_tokens": 120
 }
}

Example output

{
 "id": "chatcmpl_rep_example",
 "object": "chat.completion",
 "model": "inclusionai/ling-3.0-flash",
 "choices": [
  {
   "index": 0,
   "message": {
    "role": "assistant",
    "content": "x402 is a protocol for HTTP-native machine payments."
   },
   "finish_reason": "stop"
  }
 ],
 "usage": {
  "prompt_tokens": 12,
  "completion_tokens": 14,
  "total_tokens": 26
 },
 "upstream": "openrouter"
}

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