POST
/
farcaster
/
cast
curl --request POST \
  --url https://api.neynar.com/v2/farcaster/cast \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "signer_uuid": "19d0c5fd-9b33-4a48-a0e2-bc7b0555baec",
  "text": "Writing to @farcaster via the @neynar APIs 🪐"
}'
{
  "success": true,
  "cast": {
    "hash": "0xfe90f9de682273e05b201629ad2338bdcd89b6be",
    "author": {
      "fid": 3
    },
    "text": "<string>"
  }
}

Easiest way to start is to clone our repo that has sign in w/ Farcaster and writes. Ensure you’re using a signer_uuid that was made with the same API key.

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Body

application/json

Response

200
application/json

Successful operation.

The response is of type object.