Api Endpoint

Tenjin

Tenjin's tool router. Send a turn's bounded conversation packet, or a one-line query, and get which pay-per-call x402 service fits the step, if any, with its spec to fill and pay yourself. Quotes $0.003 and charges $0.001 per answer from a completed routing gate; an answer made without one settles at $0. batch-settlement only. Agent guide: https://tenjin.sh/llms.txt

Open interactive test console

Offering

Provider
tenjin.sh
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tenjin.sh/api/x402-router/route
MIME type
Not provided
First seen
2026-10-16T01:50:19.913Z
Last seen
Tags
routing, X402, tools, Agents, Discovery

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: batch-settlement
Raw x402 terms
[
  {
    "scheme": "batch-settlement",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x578c640E2D53023066026381B8CC362539741063"
  }
]

Observed health

Status
Healthy
Latest latency
100 ms
Average latency
502 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "accepts": {
              "items": {
                "maxLength": 32,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 16,
              "type": "array"
            },
            "gateHint": {
              "additionalProperties": false,
              "properties": {
                "category": {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                },
                "lookupId": {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                },
                "turnId": {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "category",
                "turnId",
                "lookupId"
              ],
              "type": "object"
            },
            "harness": {
              "pattern": "^[a-z][a-z0-9_-]{0,31}$",
              "type": "string"
            },
            "packet": {
              "additionalProperties": false,
              "properties": {
                "current": {
                  "additionalProperties": false,
                  "properties": {
                    "role": {
                      "enum": [
                        "user",
                        "assistant"
                      ],
                      "type": "string"
                    },
                    "text": {
                      "maxLength": 16000,
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "role",
                    "text"
                  ],
                  "type": "object"
                },
                "history": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "role": {
                        "enum": [
                          "user",
                          "assistant"
                        ],
                        "type": "string"
                      },
                      "text": {
                        "maxLength": 16000,
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "role",
                      "text"
                    ],
                    "type": "object"
                  },
                  "maxItems": 6,
                  "type": "array"
                },
                "historyStatus": {
                  "enum": [
                    "ok",
                    "unavailable"
                  ],
                  "type": "string"
                },
                "literalUrls": {
                  "items": {
                    "maxLength": 2000,
                    "type": "string"
                  },
                  "maxItems": 8,
                  "type": "array"
                },
                "nativeOutcome": {
                  "additionalProperties": false,
                  "properties": {
                    "bytes": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "code": {
                      "maximum": 999,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "error": {
                      "maxLength": 1000,
                      "minLength": 1,
                      "type": "string"
                    },
                    "reason": {
                      "enum": [
                        "no_main_content"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "pendingCall": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "query": {
                          "maxLength": 4000,
                          "minLength": 1,
                          "type": "string"
                        },
                        "tool": {
                          "const": "WebSearch",
                          "type": "string"
                        }
                      },
                      "required": [
                        "tool",
                        "query"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "tool": {
                          "const": "WebFetch",
                          "type": "string"
                        },
                        "url": {
                          "maxLength": 4000,
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "tool",
                        "url"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "question": {
                          "maxLength": 4000,
                          "minLength": 1,
                          "type": "string"
                        },
                        "tool": {
                          "const": "AskUserQuestion",
                          "type": "string"
                        }
                      },
                      "required": [
                        "tool",
                        "question"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "required": [
                "current",
                "history",
                "literalUrls",
                "historyStatus"
              ],
              "type": "object"
            },
            "schemaVersion": {
              "const": 1,
              "type": "number"
            },
            "sessionId": {
              "maxLength": 200,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "schemaVersion",
            "packet"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "accepts": {
              "items": {
                "maxLength": 32,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 16,
              "type": "array"
            },
            "gateHint": {
              "additionalProperties": false,
              "properties": {
                "category": {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                },
                "lookupId": {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                },
                "turnId": {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "category",
                "turnId",
                "lookupId"
              ],
              "type": "object"
            },
            "harness": {
              "pattern": "^[a-z][a-z0-9_-]{0,31}$",
              "type": "string"
            },
            "id": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            },
            "query": {
              "maxLength": 8000,
              "minLength": 1,
              "type": "string"
            },
            "schemaVersion": {
              "const": 1,
              "type": "number"
            }
          },
          "required": [
            "schemaVersion",
            "query"
          ],
          "type": "object"
        }
      ]
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}