# SLAMai Newest Tokens

> SLAMai Newest Tokens is a paid API for AI agents from api.slamai.dev, paid per call via x402, $0.001585/call, status unknown (last checked 2026-09-15).

Returns the most recently minted tokens on a blockchain, ranked by mint timestamp, with optional filtering by activity window and category.

## Facts

- Endpoint: POST https://api.slamai.dev/chain/tokens/newest
- Price: $0.001585/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-slamai-dev-4dec755d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f3BPOxZKt4VSec5c5SStK

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 api-slamai-dev-4dec755d -d '<json body>'
```

Example prompt: Show me the 50 newest tokens minted on Base in the last hour — Virtuals category only — ranked by how recently they were first minted, with prices and liquidity.

## When to prefer this

Use this endpoint when you need to discover freshly minted tokens ranked purely by mint timestamp — ideal for tracking new token launches in real time. Prefer this over trending endpoints when recency (first mint time) is the primary signal rather than trading activity or volume. Best for agents monitoring new token launches, sniping newly deployed contracts, or surfacing the latest Virtuals tokens on Base.

## Known failure modes

- Invalid activity_window value (must be one of: 5min, 15min, 1h, 3h, 6h, 1d) returns 400 validation error
- Unsupported blockchain name returns error
- category filter other than 'virtuals' on Base is not supported
- Payment failure via x402 protocol returns 402
- num exceeding 1000 may be rejected or clamped
- Network timeout or chain data unavailability may return 5xx

## How this service works

Returns the newest tokens minted on the blockchain based on mint timestamp,
filtered by an activity window and optional category.

## Output

A JSON object containing a list of up to N tokens sorted by newness rank, each with name, symbol, contract address, first mint block and transaction hash, current USD price, price change percentages over lookback periods, fully diluted valuation, and liquidity in USD. Also includes the block number and UTC timestamp of the data snapshot, the blockchain name, and the SLAM token cost of the query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "blockchain"
 ],
 "properties": {
  "num": {
   "type": "integer",
   "description": "The maximum number of tokens to return. Max: 1000."
  },
  "category": {
   "type": "string",
   "description": "Filter by token category. Currently, only 'virtuals' on Base is supported."
  },
  "blockchain": {
   "type": "string",
   "description": "The blockchain to query"
  },
  "estimate_cost": {
   "type": "boolean",
   "description": "When true, returns only the SLAM token cost of this query"
  },
  "activity_window": {
   "type": "string",
   "description": "The length of time over which activity is measured."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "status": 200,
 "content": {
  "application/json": {
   "schema": {
    "oneOf": [
     {
      "type": "object",
      "properties": {
       "utc": {
        "type": "string",
        "description": "The UTC timestamp of the block used for the response (ISO 8601 format)"
       },
       "slam": {
        "type": "number",
        "format": "double",
        "description": "The SLAM token cost for this API call"
       },
       "block": {
        "type": "integer",
        "format": "int32",
        "description": "The block number at which this data snapshot was generated"
       },
       "chain": {
        "type": "string",
        "description": "The name of the blockchain network (e.g., 'base')"
       },
       "tokens": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "fdv": {
           "type": "number",
           "format": "double",
           "description": "The token’s fully diluted valuation in USD"
          },
          "usd": {
           "type": "object",
           "properties": {
            "cur": {
             "type": "number",
             "format": "double",
             "description": "The current token price in USD"
            },
            "prev": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "change": {
                "type": "string",
                "description": "Price change percentage."
               },
               "minutes": {
                "type": "integer",
                "format": "int32",
                "description": "Lookback period in minutes."
               }
              }
             },
             "description": "Previous price data for comparison"
            }
           }
          },
          "name": {
           "type": "string",
           "description": "The full name of the token"
          },
          "rank": {
           "type": "integer",
           "format": "int32",
           "description": "The token’s newness rank, determined by timestamp of its first mint"
          },
          "symbol": {
           "type": "string",
           "description": "The token’s symbol (e.g., 'SLAM')"
          },
          "address": {
           "type": "string",
           "description": "The token contract address"
          },
          "liquidity": {
           "type": "number",
           "format": "double",
           "description": "The liqu
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-slamai-dev-4dec755d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.slamai.dev](https://www.zero.xyz/host/api.slamai.dev/llms.txt)
