1gateway On Chain API

The On Chain API from 1gateway — 14 operation(s) for on chain.

Operations 14

GET /v1/onchain/base/gas Base gas and fee estimate: base fee, priority tiers, cost per action in ETH and… #
GET /v1/onchain/base/token-risk Base Token Risk: Honeypot & Rug-Pull Check (buy/sell simulation, contract risk… #
GET /v1/onchain/base/balances Base wallet balances: ETH + many ERC-20s in one call, with nonce and contract… #
GET /v1/onchain/base/token-info Base ERC-20 token info: name, symbol, decimals, total supply, optional holder… #
GET /v1/onchain/base/tx Base transaction status with decoded ERC-20 transfers, fee and confirmations #
GET /v1/onchain/base/token-flows Base token flows: top net buyers and sellers, whale transfers, last 60 min #
GET /v1/onchain/prices Token prices from onchain DEX pools (Base and Solana), with pool, depth and… #
GET /v1/onchain/prices/batch Batch token prices + trade price impact (Base and Solana DEX pools) #
GET /v1/onchain/token/report Token due-diligence report: risk signals, admin controls, liquidity and price… #
GET /v1/onchain/tx/explain Explain a transaction in plain English (Base / Solana): swap, transfer… #
GET /v1/onchain/solana/token-info Solana token info: SPL / Token-2022 mint supply, decimals, authorities and… #
GET /v1/onchain/solana/token-risk Solana Token Risk: Rug Pull & Scam Token Check (mint/freeze authority, holder… #
GET /v1/onchain/solana/balances Solana wallet balances: SOL plus every SPL and Token-2022 token account in one… #
GET /v1/onchain/solana/tx Solana transaction status with SOL and token balance changes, fee and programs #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/1gateway-dev:1gateway-dev-on-chain-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

1gateway-dev-on-chain-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 1gateway Onchain API
  version: 0.1.1
  description: '1gateway lets AI agents buy the data and APIs they need, one call at a time: no signup, no API key, paid per request with USDC on Base or Solana via x402. Coverage: company and compliance checks (sanctions, KYB, SEC filings, Korean companies), Korean real estate, trade and macro data, onchain and market data, and agent utilities such as document-to-Markdown. Every response names its source. Failed calls are never charged.'
  x-guidance: 'Use this API when an agent needs data as English JSON with pay-per-call access and no signup. Common tasks: Korea apartment sale transactions and district price summaries, Korean public holidays, Korea company KYB (company resolve, profile, NTS business status, DART filings, supplier check), Korean HWP/HWPX to Markdown, web page to Markdown (web read), and document extract (PDF, DOCX, HWP/HWPX or web page to structured JSON). Current coverage is South Korea: apartment sale prices (MOLIT), exports/imports and 10-day export flash (Korea Customs), Bank of Korea statistics (ECOS), weather forecast by lat/lon (KMA), holidays (KASI); more APIs and countries are coming. Base onchain reads: token risk, wallet balances, token info, transaction status. Also: document → Markdown conversion for web pages, PDF, DOCX and Korean HWP/HWPX (price by detected type, decided before payment). Every /v1 endpoint is paid: call it, receive HTTP 402 with PAYMENT-REQUIRED, pay with an x402 client (USDC on Base or Solana, same price) and retry. No charge on failure: settlement happens only on 2xx; 4xx/5xx are never charged. Agent guide: https://1gateway.dev/agents.md. Status: https://1gateway.dev/status. MCP (Streamable HTTP) is available at https://1gateway.dev/mcp: initialize and tools/list are free, tools/call is paid via x402 _meta.'
  contact:
    email: contact@1gateway.dev
servers:
- url: https://1gateway.dev
tags:


# --- truncated at 32 KB (169 KB total) ---
# Full source: https://artifacts.apis.io/1gateway-dev/openapi/1gateway-dev-on-chain-api-openapi.yml