curl --request GET \
--url https://api.pincast.fm/v1/sets/{set}/collects \
--header 'X-Pincast-Key: <api-key>'const options = {method: 'GET', headers: {'X-Pincast-Key': '<api-key>'}};
fetch('https://api.pincast.fm/v1/sets/{set}/collects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pincast.fm/v1/sets/{set}/collects"
headers = {"X-Pincast-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"app": "demo",
"set": "central-park-trees",
"held": {
"species": 1,
"tree": 1
},
"cards": [
{
"key": "species:ginkgo",
"type": "species",
"parent": null,
"via": "tree:2614648",
"collectedAt": "2026-11-14T15:04:05.000Z",
"lastCollectedAt": "2026-11-14T15:04:05.000Z",
"count": 0,
"source": "anonymous"
},
{
"key": "tree:2614648",
"type": "tree",
"parent": "species:ginkgo",
"via": null,
"collectedAt": "2026-11-14T15:04:05.000Z",
"lastCollectedAt": "2026-11-14T15:04:05.000Z",
"count": 1,
"source": "anonymous"
}
]
}{
"url": "<string>",
"statusCode": 499,
"statusMessage": "<string>",
"message": "<string>",
"stack": "<string>",
"data": {
"code": "key_missing",
"fix": "<string>",
"field": "<string>"
}
}{
"url": "<string>",
"statusCode": 499,
"statusMessage": "<string>",
"message": "<string>",
"stack": "<string>",
"data": {
"code": "key_missing",
"fix": "<string>",
"field": "<string>"
}
}{
"url": "<string>",
"statusCode": 499,
"statusMessage": "<string>",
"message": "<string>",
"stack": "<string>",
"data": {
"code": "key_missing",
"fix": "<string>",
"field": "<string>"
}
}{
"url": "<string>",
"statusCode": 499,
"statusMessage": "<string>",
"message": "<string>",
"stack": "<string>",
"data": {
"code": "key_missing",
"fix": "<string>",
"field": "<string>"
}
}{
"url": "<string>",
"statusCode": 499,
"statusMessage": "<string>",
"message": "<string>",
"stack": "<string>",
"data": {
"code": "key_missing",
"fix": "<string>",
"field": "<string>"
}
}{
"url": "<string>",
"statusCode": 499,
"statusMessage": "<string>",
"message": "<string>",
"stack": "<string>",
"data": {
"code": "key_missing",
"fix": "<string>",
"field": "<string>"
}
}Read what a person holds in this set
One person’s cards in this set, first collect first (cards collected at the same moment in key order). Send up to three actor ids for the same person, a Logto id with this device’s guest token for example: a card held under more than one is listed once, at its earliest collect. A guest’s cards that have been claimed are listed under the person who claimed them.
curl --request GET \
--url https://api.pincast.fm/v1/sets/{set}/collects \
--header 'X-Pincast-Key: <api-key>'const options = {method: 'GET', headers: {'X-Pincast-Key': '<api-key>'}};
fetch('https://api.pincast.fm/v1/sets/{set}/collects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pincast.fm/v1/sets/{set}/collects"
headers = {"X-Pincast-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"app": "demo",
"set": "central-park-trees",
"held": {
"species": 1,
"tree": 1
},
"cards": [
{
"key": "species:ginkgo",
"type": "species",
"parent": null,
"via": "tree:2614648",
"collectedAt": "2026-11-14T15:04:05.000Z",
"lastCollectedAt": "2026-11-14T15:04:05.000Z",
"count": 0,
"source": "anonymous"
},
{
"key": "tree:2614648",
"type": "tree",
"parent": "species:ginkgo",
"via": null,
"collectedAt": "2026-11-14T15:04:05.000Z",
"lastCollectedAt": "2026-11-14T15:04:05.000Z",
"count": 1,
"source": "anonymous"
}
]
}{
"url": "<string>",
"statusCode": 499,
"statusMessage": "<string>",
"message": "<string>",
"stack": "<string>",
"data": {
"code": "key_missing",
"fix": "<string>",
"field": "<string>"
}
}{
"url": "<string>",
"statusCode": 499,
"statusMessage": "<string>",
"message": "<string>",
"stack": "<string>",
"data": {
"code": "key_missing",
"fix": "<string>",
"field": "<string>"
}
}{
"url": "<string>",
"statusCode": 499,
"statusMessage": "<string>",
"message": "<string>",
"stack": "<string>",
"data": {
"code": "key_missing",
"fix": "<string>",
"field": "<string>"
}
}{
"url": "<string>",
"statusCode": 499,
"statusMessage": "<string>",
"message": "<string>",
"stack": "<string>",
"data": {
"code": "key_missing",
"fix": "<string>",
"field": "<string>"
}
}{
"url": "<string>",
"statusCode": 499,
"statusMessage": "<string>",
"message": "<string>",
"stack": "<string>",
"data": {
"code": "key_missing",
"fix": "<string>",
"field": "<string>"
}
}{
"url": "<string>",
"statusCode": 499,
"statusMessage": "<string>",
"message": "<string>",
"stack": "<string>",
"data": {
"code": "key_missing",
"fix": "<string>",
"field": "<string>"
}
}Authorizations
Your app's key, sent on every call from your server only. It reads pck_, your app id, an underscore, then a secret of 20 or more letters, digits, underscores or hyphens. Never put it in a web page, an app bundle or a query string. Placecard stores only its sha256.
Your app can hold two live keys at once, so a key is replaced with no outage: the new key works at once, and the old one keeps working until its expiry (seven days after the new key is made, unless you ask for less). A revoked key is refused from the next call.
X-Placecard-Key, the older name of this header, is taken too, at either address. Send one of the two; if both come and they differ, the call answers 400 key_conflict.
Path Parameters
Query Parameters
Response
The cards this person holds. held counts them by type. A parent card held only through one of its children has count 0 and names that child in via.