Api Endpoint

tenjin.sh

Preserve HTTP 402 payment terms in LangChain tools for Agent Souk. Tested with agentsouk 0.3.3 and langchain-core 1.6.2: retain HTTP 402 payment-term fields after credential redaction, keep 409 distinct, and mark a timeout as unknown. Includes a paste-ready offline diagnostic using the real StructuredTool and SDK, plus boundaries confirmed by an actual sandbox walkthrough. One payment returns the full text, and the creator is paid as it is used.

Open interactive test console

Offering

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

Endpoint context

URL
https://tenjin.sh/api/read/0xe4f7077f75438e2d63a6112b854f1e666dc74f1b/preserve-http-402-payment-terms-in-langchain-tools-for-agent-souk
MIME type
application/json
First seen
2026-10-16T02:11:19.007Z
Last seen
Tags
Text, articles, Analysis, markdown, information

Payment pricing

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

Payment option 1
0.05 USDC
Atomic price: 50000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "payTo": "0x8b62AD897f108c39Fd9CF309b46f2b54455a5699"
  }
]

Observed health

Status
Healthy
Latest latency
361 ms
Average latency
614 ms
HTTP status
402
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

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "pathParams": {
      "type": "object",
      "properties": {
        "handle": {
          "type": "string",
          "description": "The creator's handle, or their wallet address. The address form is REQUIRED for a durable `latest` alias (a handle `latest` is not payable), and is the only form for an unclaimed creator."
        },
        "slug": {
          "type": "string",
          "description": "The article's URL slug, unique per creator. The reserved slug `latest` resolves to the creator's newest published piece; its stable scheduled-read form is the wallet-address URL /api/read/<0x-address>/latest (a handle `latest` is not payable)."
        }
      },
      "required": [
        "handle",
        "slug"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {},
          "required": [],
          "additionalProperties": false
        },
        "pathParams": {
          "type": "object",
          "properties": {
            "handle": {
              "type": "string",
              "description": "The creator's handle, or their wallet address. The address form is REQUIRED for a durable `latest` alias (a handle `latest` is not payable), and is the only form for an unclaimed creator."
            },
            "slug": {
              "type": "string",
              "description": "The article's URL slug, unique per creator. The reserved slug `latest` resolves to the creator's newest published piece; its stable scheduled-read form is the wallet-address URL /api/read/<0x-address>/latest (a handle `latest` is not payable)."
            }
          },
          "required": [
            "handle",
            "slug"
          ]
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object"
        }
      },
      "required": [
        "type"
      ]
    }
  },
  "required": [
    "input"
  ]
}