# Zapper General Swap Feed

> Zapper General Swap Feed is a paid API for AI agents from public.zapper.xyz, paid per call via x402, $0.00375/call, status down (last checked 2026-09-15).

Fetches a paginated feed of recent on-chain token swap activity across all networks, enriched with social signals from Farcaster

## Facts

- Endpoint: POST https://public.zapper.xyz/x402/general-swap-feed
- Price: $0.00375/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/public-zapper-xyz-5bf40a2e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4I8VykO8Y7AANHa5iVqKw

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 public-zapper-xyz-5bf40a2e -d '<json body>'
```

Example prompt: Show me the latest on-chain swap activity from Zapper's general swap feed, paginated from the beginning.

## When to prefer this

Use this endpoint when you need a broad, cross-network feed of recent swap activity without filtering to a specific token or user. Prefer this over the token-specific feed endpoint when building a general DeFi activity dashboard or monitoring overall swap trends across all chains. It includes Farcaster social enrichment, making it useful for social-fi applications.

## Known failure modes

- Empty or malformed request body may return no results
- Pagination cursor mismatch returns invalid page
- Rate limiting or payment failure returns 402 or error response
- Non-JSON response wrapped in _nonJson envelope requiring preview parsing

## How this service works

Get a real-time feed of swap activity across Farcaster, including token trades, volume, and social context.

## Output

A paginated list of recent swap transactions across all supported networks, including swap amounts, token pairs, cursor-based pagination info (hasPreviousPage, hasNextPage, startCursor, endCursor), and associated Farcaster social signals where available.

## Example request

```json
{}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "data": {
      "generalSwapFeed": {
       "type": "object",
       "properties": {
        "edges": {
         "type": "array",
         "items": {
          "type": "object",
          "properties": {
           "node": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string"
             },
             "swap": {
              "type": "object",
              "properties": {
               "id": {
                "type": "string"
               },
               "fid": {
                "type": "integer"
               },
               "isBuy": {
                "type": "boolean"
               },
               "token": {
                "type": "object",
                "properties": {
                 "symbol": {
                  "type": "string"
                 },
                 "address": {
                  "type": "string"
                 }
                }
               },
               "amount": {
                "type": "number"
               },
               "chainId": {
                "type": "integer"
               },
               "network": {
                "type": "object",
                "properties": {
                 "chainId": {
                  "type": "integer"
                 }
                }
               },
               "profile": {
                "type": "object",
                "properties": {
                 "fid": {
                  "type": "integer"
                 }
                }
               },
               "parentUrl": {
                "type": "string"
               },
               "timestamp": {
                "type": "string"
               },
               "volumeUsd": {
                "type": "number"

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/public-zapper-xyz-5bf40a2e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from public.zapper.xyz](https://www.zero.xyz/host/public.zapper.xyz/llms.txt)
