82trust / 100

Addresses

by api.blockscout.com in Weather & location

x402 APIPassing, checked 3 h ago

Access to api/v2/addresses/:address_hash. Retrieve detailed information about a specific address or contract

GET https://api.blockscout.com/:chain_id/api/v2/addresses/:address_hash_param

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
139 ms typical, 139 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.blockscout.com/:chain_id/api/v2/addresses/:address_hash_param"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.blockscout.com%2F%3Achain_id%2Fapi%2Fv2%2Faddresses%2F%3Aaddress_hash_param
const res = await pay("https://api.blockscout.com/:chain_id/api/v2/addresses/:address_hash_param");
console.log(await res.json());

Example output

{
  "block_number_balance_updated_at": 0,
  "coin_balance": "string",
  "creation_status": "string",
  "creation_transaction_hash": "string",
  "creator_address_hash": "string",
  "ens_domain_name": "string",
  "exchange_rate": "string",
  "has_beacon_chain_withdrawals": true,
  "has_logs": true,
  "has_token_transfers": true,
  "has_tokens": true,
  "has_validated_blocks": true,
  "hash": "string",
  "implementations": [
    {
      "address_hash": "string",
      "name": "string"
    }
  ],
  "is_contract": true,
  "is_scam": true,
  "is_verified": true,
  "metadata": {},
  "name": "string",
  "private_tags": [
    {
      "address_hash": "string",
      "display_name": "string",
      "label": "string"
    }
  ],
  "proxy_type": "string",
  "public_tags": [
    {
      "address_hash": "string",
      "display_name": "string",
      "label": "string"
    }
  ],
  "reputation": "string",
  "token": {},
  "watchlist_address_id": 0,
  "watchlist_names": [
    {
      "display_name": "string",
      "label": "string"
    }
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402139 ms$0.002