Api Endpoint

Soren

Read whether an address is a contract, and its code size, live from Base mainnet, for a fraction of a cent. No API key, no account — a wallet is the only requirement, and you are charged only if the read succeeds. Plain unsigned data; the attested version of chain reads is /v1/oracle/onchain. Answers are read at the moment of the call and stamped with the block they came from where applicable.

Open interactive test console

Offering

Provider
soren.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://soren.com/v1/chain/code
MIME type
application/json
First seen
2026-10-16T01:51:30.109Z
Last seen
Tags
chain, Base, Onchain, blockchain, code, RPC, Agents

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
174 ms
Average latency
449 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": {
        "address": {
          "type": "string",
          "description": "The 0x… address to inspect.",
          "examples": [
            "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
          ]
        }
      },
      "required": [
        "address"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "address": {
              "description": "The 0x… address to inspect.",
              "examples": [
                "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
              ],
              "type": "string"
            }
          },
          "required": [
            "address"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    }
  }
}