#Introduction

Access all 10,000 CryptoPunks, individual traits, and generate custom combinations with pixel-perfect rendering.

Hero Punk
Hero Punk
Hero Punk
Hero Punk
Hero Punk
Hero Punk
Hero Punk
Hero Punk
Hero Punk
Hero Punk
REST APIJSON / PNG / SVGASCII / ANSI

#Endpoints

GET/traits
Get all available traits with basic info.
ParameterDescription
categoryFilter by category (Background, Eyewear, etc.)
genderFilter by gender (Male, Female, Unisex)
searchSearch traits by name
extendedInclude extended traits (unisex versions)
limitLimit number of results (default: all)
offsetPagination offset
groupByCategoryGroup results by category (true/false)
Example Request
GET /api/traits?category=Hairstyle&gender=Female&limit=5
GET/traits/[slug]
Get specific trait data or combine multiple traits (dash-separated).
ParameterDescription
formatjson (default), pixels, svg, png, ascii, ansi
sizeImage size (pixels). Default 24, or 32 for naked mode.
backgroundColor name, hex, gradient (dash-separated), or image URL
nakedEnable naked body mode: yes, true, 1
dingdongAdd basic anatomical details (requires naked=yes): yes, true, 1
ribbonAdd green corner ribbon (png only)
GET/punks
List CryptoPunks with token IDs and traits.
ParameterDescription
limitLimit number of results
offsetPagination offset
includeTraitsInclude trait data (default: true). Set to false for lighter response.
Example Request
GET /api/punks?limit=10&offset=500
GET/punks/[id]
Get a specific CryptoPunk by ID.
ParameterDescription
formatjson (default), pixels, svg, png, ascii, ansi
sizeImage size (pixels). Default 24, or 32 for naked mode.
backgroundColor name, hex, gradient (dash-separated), or image URL
nakedEnable naked body mode: yes, true, 1
dingdongAdd anatomical details. Values: yes, tripod, in-a-sock, tripod-in-a-sock
socksAdd socks (requires naked=yes). Values: yes, or hex color (e.g. ff0000)
nipsSpecial nipple styles. Value: clown
ribbonAdd green corner ribbon (png only)

#Visuals & Formats

Naked Mode

Expand the canvas to 32x32 and generate anatomically correct bodies. Supports automatic skin tone matching, clothing removal, and gender-specific anatomy.

naked=yes&dingdong=tripod&socks=ff0000
Naked example
Naked example
Naked example
Naked example

ASCII & ANSI

Generate text-based art for terminals and chat.

format=ascii | format=ansi
Loading examples...

#Colors

Use the background parameter with hex codes, CSS names, gradients (dash-separated), or our punk presets.

punk

#638696

v1

#A89CFF

forsale

#95554F

bids

#8E6FB6

wrapped1

#C8DFCA

wrapped2

#67A670

Built by gwendall

Free to use • Credit appreciated

CryptoPunks API Documentation