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 '
{
  "name": "<string>",
  "network": "base",
  "symbol": "<string>",
  "description": "<string>",
  "external_link": "<string>",
  "image": "<string>",
  "max_supply": 0,
  "mint_config": {
    "end_timestamp": 140737488355327,
    "max_per_tx": 0,
    "max_per_wallet": 0,
    "price_per_token": "0",
    "start_timestamp": 140737488355327
  },
  "royalty_bps": 0,
  "royalty_recipient": "0x5a927ac639636e534b678e81768ca19e2c6280b7"
}
'
{
  "collection": {
    "address": "0x5a927ac639636e534b678e81768ca19e2c6280b7",
    "name": "<string>",
    "network": "base",
    "symbol": "<string>",
    "transaction_hash": "<string>",
    "type": "ERC721"
  },
  "object": "nft_collection"
}

Documentation Index

Fetch the complete documentation index at: https://docs.neynar.com/llms.txt

Use this file to discover all available pages before exploring further.

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
name
string
required
Required string length: 1 - 255
network
enum<string>
required
Available options:
base,
optimism,
base-sepolia
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
mint_config
object
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"

Response

201

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