API for downloading price list

Avatar
  • updated

Hi - is there an API to download price listings for sets? I would like to periodically download a price list CSV. It would be a pain to do it manually with any frequency. I see that the CSV URLs block downloads with Cloudflare to ensure a browser session. Is there an API alternative that I can use that would allow programmatic interaction?

Avatar
jj

We don't explicitly block CSV downloads, but we do rate limit them.  CSV downloads are limited to one every 5 minutes. They are very server intensive and the tool is not designed for downloading lots of data from lots of sets.  

The API can grab price data for individual items or items in a search query, but the CSV tool should be used for grabbing data for an entire set.  

Avatar
Anonymous

Thanks for your reply. I'm wondering if perhaps I'm looking in the wrong place for the CSV tool then. I see links on individual set pages to download a CSV. You referred to a tool though. Can you link me to where I can find that? I'm struggling to find it in the documentation. Thanks!

Avatar
jj

The "CSV tool" is the same as CSV download.  No additional feature

The "Download Price List" link on each set page is the only URL available to download sports card data.

If you send me an email with any curl requests and errors you are seeing I can try to help troubleshoot specific errors.

Avatar
chris banner

Your line of questioning actually connected the dots for me to sort this out. My issue was using the sportscardpro.com domain, which presents a Cloudflare challenge, when I should have been using the pricecharting.com domain as recommended in the docs for REST API access. When I swapped to pricecharting.com I was able to successfully access a CSV.

Thank you again for your help!


Reply to