Farcaster Events API

The Events API from Farcaster — 2 operation(s) for events.

Operations 2

GET /v1/events Stream hub events
GET /v1/eventById Get a hub event by id

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/farcaster-events-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

farcaster-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Farcaster Snapchain Hub HTTP Casts Events API
  description: HTTP query interface for Farcaster's Snapchain network. Read casts, reactions, follows, user data, verifications and on-chain events by FID; submit signed protobuf messages; and stream hub events. The public reference endpoint is hosted at https://snapchain.farcaster.xyz, but operators typically run their own Snapchain node and bind the HTTP server to a local port (default 3381).
  version: 1.0.0
  contact:
    name: Farcaster
    url: https://snapchain.farcaster.xyz/
  license:
    name: MIT
servers:
- url: https://snapchain.farcaster.xyz
  description: Public Snapchain reference endpoint
- url: http://127.0.0.1:3381
  description: Default local Snapchain HTTP server
tags:
- name: Events
paths:
  /v1/events:
    get:
      tags:
      - Events
      summary: Stream hub events
      parameters:
      - in: query
        name: from_event_id
        schema:
          type: integer
      - in: query
        name: shard_index
        schema:
          type: integer
      - in: query
        name: stop_id
        schema:
          type: integer
      - $ref: '#/components/parameters/PageSize'
      - $ref: '#/components/parameters/PageToken'
      - $ref: '#/components/parameters/Reverse'
      responses:
        '200':
          description: Page of events
  /v1/eventById:
    get:
      tags:
      - Events
      summary: Get a hub event by id
      parameters:
      - in: query
        name: event_id
        required: true
        schema:
          type: integer
      - in: query
        name: shard_index
        schema:
          type: integer
      responses:
        '200':
          description: Event
components:
  parameters:
    PageToken:
      in: query
      name: pageToken
      schema:
        type: string
    Reverse:
      in: query
      name: reverse
      schema:
        type: boolean
    PageSize:
      in: query
      name: pageSize
      schema:
        type: integer