Farcaster User Data API

The User Data API from Farcaster — 4 operation(s) for user data.

GitHub OpenAPI
Business capability
Social Networks & Community AE-170.50

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/userDataByFid List a user's data records · List user data records for a FID #
Ask an LLM
“What user data records exist for a Farcaster ID?”
“Can I filter a user's data records by type?”
Tell an agent
List user data records for FID {fid}.
Show {user_data_type} records for FID {fid}.
GET /v1/storageLimitsByFid Get a user's storage limits · Get storage limits for a FID #
Ask an LLM
“How much storage does a Farcaster user have?”
“What storage limits apply to a FID?”
Tell an agent
Get storage limits for FID {fid}.
Show how much storage FID {fid} is allowed.
GET /v1/userNameProofByName Resolve a username proof by name · Resolve a username proof by name #
Ask an LLM
“How do I find the FID behind a username?”
“Can I resolve a username proof by its name?”
Tell an agent
Resolve the username proof for {name}.
Find the FID behind username {name}.
GET /v1/userNameProofsByFid List a user's username proofs · List username proofs for a FID #
Ask an LLM
“Which usernames has a user claimed?”
“Can I list all username proofs for a FID?”
Tell an agent
List username proofs for FID {fid}.
Show every username claim by FID {fid}.

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:farcaster-user-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

farcaster-user-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Farcaster Snapchain Hub HTTP User Data 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: User Data
paths:
  /v1/userDataByFid:
    get:
      tags:
      - User Data
      summary: List user data records for a FID
      parameters:
      - $ref: '#/components/parameters/Fid'
      - in: query
        name: user_data_type
        schema:
          type: string
      - $ref: '#/components/parameters/PageSize'
      - $ref: '#/components/parameters/PageToken'
      - $ref: '#/components/parameters/Reverse'
      responses:
        '200':
          description: Page of user data
      operationId: getV1UserDataByFid
      x-operation-id-source: derived
  /v1/storageLimitsByFid:
    get:
      tags:
      - User Data
      summary: Get storage limits for a FID
      parameters:
      - $ref: '#/components/parameters/Fid'
      responses:
        '200':
          description: Storage limit info
      operationId: getV1StorageLimitsByFid
      x-operation-id-source: derived
  /v1/userNameProofByName:
    get:
      tags:
      - User Data
      summary: Resolve a username proof by name
      parameters:
      - in: query
        name: name
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Username proof
      operationId: getV1UserNameProofByName
      x-operation-id-source: derived
  /v1/userNameProofsByFid:
    get:
      tags:
      - User Data
      summary: List username proofs for a FID
      parameters:
      - $ref: '#/components/parameters/Fid'
      - $ref: '#/components/parameters/PageSize'
      - $ref: '#/components/parameters/PageToken'
      - $ref: '#/components/parameters/Reverse'
      responses:
        '200':
          description: Page of username proofs
      operationId: getV1UserNameProofsByFid
      x-operation-id-source: derived
components:
  parameters:
    Reverse:
      in: query
      name: reverse
      schema:
        type: boolean
    PageToken:
      in: query
      name: pageToken
      schema:
        type: string
    Fid:
      in: query
      name: fid
      required: true
      schema:
        type: integer
      description: Farcaster ID
    PageSize:
      in: query
      name: pageSize
      schema:
        type: integer