Skip to main content
POST
/
v2
/
farcaster
/
nft
/
deploy
/
erc721
Deploy ERC-721 collection
curl --request POST \
  --url https://api.neynar.com/v2/farcaster/nft/deploy/erc721/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-wallet-id: <x-wallet-id>' \
  --data '
{
  "network": "base",
  "name": "<string>",
  "symbol": "<string>",
  "description": "<string>",
  "image": "<string>",
  "external_link": "<string>",
  "max_supply": 0,
  "royalty_bps": 0,
  "royalty_recipient": "0x5a927ac639636e534b678e81768ca19e2c6280b7",
  "mint_config": {
    "price_per_token": "0",
    "max_per_wallet": 0,
    "max_per_tx": 0,
    "start_timestamp": 140737488355327,
    "end_timestamp": 140737488355327
  }
}
'
{
  "object": "nft_collection",
  "collection": {
    "type": "ERC721",
    "network": "base",
    "address": "0x5a927ac639636e534b678e81768ca19e2c6280b7",
    "name": "<string>",
    "symbol": "<string>",
    "transaction_hash": "<string>"
  }
}

Node.js SDK

🔗 SDK Method: deployErc721 Use this API endpoint with the Neynar Node.js SDK for typed responses and better developer experience.

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Headers

x-wallet-id
string
required

Wallet ID to use for transactions

Body

application/json
network
enum<string>
required

Network to mint on.

Available options:
base,
optimism,
base-sepolia
Example:

"base"

name
string
required
Required string length: 1 - 255
symbol
string
required
Required string length: 1 - 32
description
string
image
string
max_supply
integer
default:0

Max supply (0 = unlimited)

Required range: 0 <= x <= 281474976710655
royalty_bps
integer
default:0

Royalty in basis points (500 = 5%, max 2500 = 25%)

Required range: 0 <= x <= 2500
royalty_recipient
string

Defaults to creator wallet

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x5a927ac639636e534b678e81768ca19e2c6280b7"

mint_config
object

Response

201

object
enum<string>
required
Available options:
nft_collection
collection
object
required