PaperbackSwap Scraper avatar
PaperbackSwap Scraper
Try for free

3 days trial then $10.00/month - No credit card required now

View all Actors
PaperbackSwap Scraper

PaperbackSwap Scraper

epctex/paperbackswap-scraper
Try for free

3 days trial then $10.00/month - No credit card required now

Get information on books right away from PaperBack Swap! Get title, prices, rating, ISBN13, ISBN10, publisher, and a lot more are waiting for you. Use any filter, search anything, and retrieve your results without any limits. Get it with JSON, XML, Excel, CSV, or many other options. Super fast!

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "startUrls": [
8    "https://www.paperbackswap.com/5th-Wave-Bk-Rick-Yancey/book/0142425834/",
9    "https://www.paperbackswap.com/Pulitzer-Prize/award/2/?g=History",
10    "https://www.paperbackswap.com/Mark-Sanborn/author/",
11    "https://www.paperbackswap.com/Christian-Fiction/tag/2043/?l=10&ls=10"
12  ],
13  "search": "harry potter",
14  "maxItems": 20,
15  "endPage": 1,
16  "extendOutputFunction": "($) => { return {} }",
17  "customMapFunction": "(object) => { return {...object} }",
18  "proxy": {
19    "useApifyProxy": true
20  }
21}
22EOF
23
24# Run the Actor using an HTTP API
25# See the full API reference at https://docs.apify.com/api/v2
26curl "https://api.apify.com/v2/acts/epctex~paperbackswap-scraper/runs?token=$API_TOKEN" \
27  -X POST \
28  -d @input.json \
29  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 1 monthly user
  • 1 star
  • 100.0% runs succeeded
  • Created in Apr 2023
  • Modified about 23 hours ago