PSA API endpoint
Every autograph subject PSA AutographFacts lists for one category, each with the numeric subject_id to pass to psa-autographfacts-subject for that subject's full profile and price guide.
/psa/autographfacts/subjectsQuery parameters:
category_id (required) — a category id from
psa-autographfacts-categories, e.g. 4 (Baseball).| Field | Filled in, of 1175 checked | Values in the sample |
|---|---|---|
| subject_id | 500 | |
| name | 500 | “Hank Aaron” and 499 other values |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| category_id | integer | Yes | Category id, from psa-autographfacts-categories | 4 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/psa/autographfacts/subjects?category_id=4" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"category_id": 4,
"category_name": "Baseball",
"subjects": [
{
"subject_id": 1,
"name": "Hank Aaron"
},
{
"subject_id": 2266,
"name": "Jim Abbott"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/psa.autographFactsSubjectsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | psa.AutographFactsSubjectsResponse | No | ||||
| data.category_id | integer | No | ||||
| data.category_name | string | No | ||||
| data.subjects | array | No | ||||
| data.subjects[].name | string | No | Name is the subject's display name, e.g. "Hank Aaron". | |||
| data.subjects[].subject_id | integer | No | SubjectID is PSA's own numeric subject id -- pass as subject_id to AutographFactsSubject. | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/psa/autographfacts/subjects?category_id=4" \
-H "x-api-key: $CRAWLORA_API_KEY"