Public Onchain Collection Infrastructure

No-Punks API

Canonical token metadata, images, traits, search, and datasets for the No-Punks V2 contract on Base. The core collection routes are onchain or snapshot-derived, and the market routes are kept separate and clearly labeled as derived data.

We opened it so builders, collectors, artists, and community projects can work from the same stable public source the site uses itself. Use it to query tokens directly, mirror datasets, power indexes and tools, or reference the collection cleanly without scraping pages or depending on closed intermediaries.

Canonical

Token JSON and image routes

Stable public endpoints for canonical token metadata and the hosted SVG image route.

Searchable

Traits, indexes, and search

Trait pages and search are built from No-Punks V2 snapshots published for public reuse.

Open

Raw datasets stay downloadable

Mirror them, index them, remix them, or build your own views of the collection.

Quickstart

Copy, paste, build

Examples below use token 9967. Replace it with any token ID from 0 to 9999.

curl

Fetch token metadata

fetch

Use it from JavaScript

traits

Inspect a trait value

image

Open the canonical image route

Sample Response

No-Punk #9967

Canonical token metadata returns a hosted image route and onchain-style attributes.

{
  "tokenId": 9967,
  "name": "No-Punk #9967",
  "collection": "No-Punks V2",
  "contract": "0xa62f65d503068684e7228df98090F94322b8ed54",
  "chain": "base",
  "image": "/api/v2/tokens/9967/image",
  "attributes": [
    { "trait_type": "Hair", "value": "Knitted Cap" },
    { "trait_type": "Eyes", "value": "Green Eye Shadow" },
    { "trait_type": "Type", "value": "Female" }
  ]
}
Reference

Public routes

The documented collection namespace is /api/v2.

Collection

Canonical entry points

GET
/api/v2/status

Readiness, timestamps, and dataset availability.

GET
/api/v2/collection

Contract, chain, supply, docs, and dataset manifest.

GET
/api/v2/tokens/:tokenId

Canonical token JSON for token IDs 0 through 9999.

GET
/api/v2/tokens/:tokenId/image

Canonical hosted SVG image route for a token.

Traits

Discovery routes

GET
/api/v2/traits

List public trait types and counts.

GET
/api/v2/traits/:traitType

List values and counts for one trait type.

GET
/api/v2/traits/:traitType/:value

Token IDs for one exact trait value.

GET
/api/v2/search?q=...

Search by token ID, name, trait type, or trait value text.

Derived Market

Non-canonical market data

GET
/api/v2/market/stats

Non-canonical market summary derived from OpenSea.

GET
/api/v2/market/recent-sales

Recent sales envelope derived from OpenSea activity.

GET
/api/v2/market/listings

Current listings envelope derived from OpenSea listings.

Datasets

Published raw files

GET
/api/v2/datasets

Links to the raw JSON files and image base.

Machine Readable

Support files

GET
/api/openapi.json

OpenAPI document for the public No-Punks API.

GET
/llms.txt

Compact machine-readable route list and usage summary.

Datasets

Published raw files

The same collection files used by the site and the public API.

Snapshot

Onchain traits

Token metadata snapshot built from the No-Punks V2 contract.

Download JSON
Search

Token search blob

Compact search index with token IDs, names, and trait text.

Download JSON
Index

Trait to token IDs

Trait-value index for builders who want fast filtering without scraping the site.

Download JSON
Images

Published SVG sample

Hosted collection image files for mirroring or static indexing. Start with a real sample, then swap the token ID.

Open sample SVG
Reference Notes

What lives here

Core collection data is canonical here. Market data stays published, but it is clearly labeled as derived.

V2 contract only.
Public GET routes with open CORS.
Core metadata is served from published local snapshots.
Market routes are clearly labeled and derived from OpenSea.
CC0 / CCO friendly public use.
OpenAPI and llms.txt stay published.