# TokenVest OnChain Gas Price Lookup

> TokenVest OnChain Gas Price Lookup is a paid API for AI agents from api.genesistokenlabs.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-31).

Retrieves current on-chain gas price data for use in crypto transaction planning and cost estimation.

## Facts

- Endpoint: GET https://api.genesistokenlabs.com/v1/onchain/gas?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenvest-onchain-gas-price-lookup-0a1e96f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yzrc0sunPzLyuqa4trZRV

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tokenvest-onchain-gas-price-lookup-0a1e96f8
```

Example prompt: Can you check the current on-chain gas price so I know how much a transaction will cost right now?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call lookup of current on-chain gas prices without a subscription, especially within a crypto investment or DeFi workflow already integrated with the Genesis Token Labs / TokenVest ecosystem.

## Known failure modes

- Network or API unavailability returning a non-200 status
- Empty or null data field if gas data is temporarily unavailable
- Payment failure due to insufficient USDC balance for the $0.003 per call fee
- Malformed response if the on-chain data source is experiencing issues

## How this service works

TokenVest — invest in high-potential crypto projects before they launch to the public market.

## Output

Returns a JSON object with ok:true and a data field containing current on-chain gas price information useful for estimating blockchain transaction costs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenvest-onchain-gas-price-lookup-0a1e96f8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.genesistokenlabs.com](https://www.zero.xyz/host/api.genesistokenlabs.com/llms.txt)
