---
title: "Latest indexed block"
method: GET
path: "/dexscreener/latest-block"
tags: ["DexScreener"]
---

# Latest indexed block

`GET /dexscreener/latest-block`

## Request

- Base URL: `https://market-api.metadao.fi/v1`
- URL: `https://market-api.metadao.fi/v1/dexscreener/latest-block`
- Auth: one of:
  - none
  - API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/metadao/apis/futarchy-external-api/docs/dexscreener/latest-block/get.ts> (a function with typed inputs; its response is checked against the schema)

Slot and timestamp of the newest indexed FutarchyAMM spot swap.

## Response `200`

Latest block.

- DexScreenerLatestBlockResponse
  - `block` DexScreenerBlock, required
    - `blockNumber` integer, required: Solana slot.
    - `blockTimestamp` integer, required: Unix seconds.

## Other responses

- `401`: Unknown `X-API-Key` (`INVALID_API_KEY`), or missing/invalid metrics bearer token on `/metrics`.
- `404`: No matching data (`NOT_FOUND`: "Pair not found" / "No blocks available").
- `429`: Rate limit exceeded (`RATE_LIMITED`).
- `500`: Unexpected server or upstream (RPC/DB) failure. Retry later.
- `503`: A dependency is unavailable or its data is stale (e.g. `SERVED_DB_UNAVAILABLE`, `SERVED_DATA_STALE`) or the request timed out (`REQUEST_TIMEOUT`). Retry later.

---

[API](https://skmtc.dev/metadao/apis/futarchy-external-api.md) - [All operations](https://skmtc.dev/metadao/apis/futarchy-external-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metadao/apis/futarchy-external-api/revisions/27b09f0a2750?raw)
