Searching for PSA 10 graded cards only in the Pokemon TCG
I'm trying to build a search query that only finds Pokemon TCG cards with a PSA grade of 10 but running into issues. I've tried a variety of query params to no avail.
My current setup is:
```
```
Where my `aspect_filter` is conditionDescriptors.name:Professional Grader,conditionDescriptors.values.content:Professional Sports Authenticator,conditionDescriptors.name:Grade,conditionDescriptors.values.content:10
But I get a warning
"warnings": [
{
"errorId": 12017,
"domain": "API_BROWSE",
"category": "REQUEST",
"message": "The 'aspect_filter' query parameter must include a categoryId. For information, see the API call reference documentation."
}
],
Is this type of search even possible for the browse API? The condition ID includes PSA 9 cards that I do not want. I can adjust the query but some are still seeping into my results.
For a cleaner way to see how I'm building my query here are the params before url encoding
```
return this.search({
q: query,
limit: limit.toString(),
sort: "endingSoonest",
filter: "buyingOptions:{FIXED_PRICE},conditionIds:{2750},grade:{10}",
category_ids: "183454",
aspect_filter: [
"conditionDescriptors.name:Professional Grader", // Correctly specify the name for the grader
"conditionDescriptors.values.content:Professional Sports Authenticator (PSA)", // Correctly specify the value for the grader
"conditionDescriptors.name:Grade", // Correctly specify the name for the grade
"conditionDescriptors.values.content:275020" // Use the correct grade ID for 10
].join(',')
});
```
dave12345222
Posted 1 year ago·Last reply 1 year ago
1 comment
dave12345222
OP1 year agohttps://developer.ebay.com/api-docs/user-guides/static/mip-user-guide/mip-enum-condition-descriptor-ids-for-trading-cards.html is somewhat helpful but not sure how to incorporate that into my request.