What it is
The hosted service stores token images and metadata for registered integrators. It does nothing else: no transaction building, no custody. It uses the same moderation as the Pari site.When to use it
Use it when you do not host your own metadata. Its URIs are short enough for the launch transaction. See Launching.Step by step
1
Get your key
You get the key after registration, and it is shown once. Set it as
PARI_API_KEY for the CLI. Requests use Authorization: Bearer <api key>.2
Upload the image
3
Upload the metadata
4
Launch with the returned uri
See Launching.
Endpoints
image in the metadata body must be a url returned by /v1/images for the same key. The service builds the stored JSON from the validated fields. It never stores your blob.
Numbers and limits
- Image: at most 2 MiB, 64 to 2048 pixels per side.
- Metadata: at most 4 KiB. Name 32 characters, symbol 10, description 1000, links 200 and
httpsonly. - Rate: 30 requests per minute and 200 uploads per day per key, by default.
- Request form: 5 requests per IP per day, 2 KiB body.
Cache-Control: public, max-age=31536000, immutable) until a takedown removes them. After that, their URL returns 404.
What can go wrong
Errors are{ "error": "<code>" }.
A 451 response
451 matched means the image, or its re-encoded copy, matched a hash list. Nothing was stored.
- Do not retry the same bytes. They will match again.
- A different picture is a different upload. Do not make small edits to get around a match: the operator can revoke a key.
- If you believe it is a mistake, write to support@pariprotocol.xyz with the key id and the time of the request. Do not attach the image.
Next
Moderation
What is checked on every upload.
Launching
Use the uri in a launch.