# Synapse API — MegaETH Latest Block

> Synapse API — MegaETH Latest Block is a paid API for AI agents from synapse-api-brown.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Fetches the latest block data from the MegaETH blockchain network

## Facts

- Endpoint: POST https://synapse-api-brown.vercel.app/api/megaeth/block/latest
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synapse-api-megaeth-latest-block-6d7f76c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sc1ZyXTbtBW4tjT4IS_cl

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 synapse-api-megaeth-latest-block-6d7f76c4 -d '<json body>'
```

Example prompt: What is the latest block on MegaETH right now — give me the block number, hash, and timestamp.

## When to prefer this

Choose this endpoint when you need real-time latest block data specifically from the MegaETH network and want to pay per call via x402 USDC micropayments rather than maintaining your own RPC node or subscription. Ideal for agents that only occasionally need chain tip data without a long-term RPC commitment.

## Known failure modes

- Network unavailability of MegaETH RPC node returns an error response
- Payment failure via x402 protocol results in 402 Payment Required
- Malformed request body returns 400 Bad Request
- MegaETH chain is halted or not synced, returning stale or no data
- Rate limiting may occur under heavy load

## How this service works

High-speed API suite for AI processing, web scraping, and smart data utilities across 57+ blockchain networks. Pay-per-call via x402.

## Output

Returns the latest block object from the MegaETH network, including block number, block hash, parent hash, timestamp, transaction list or count, miner/validator address, gas used, and other standard Ethereum-compatible block fields.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synapse-api-megaeth-latest-block-6d7f76c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from synapse-api-brown.vercel.app](https://www.zero.xyz/host/synapse-api-brown.vercel.app/llms.txt)
