The Ultimate Web Scraping API

Page2API is a delightful and versatile API that empowers you to scrape the web like a PRO.

1000 free API calls.
Based on all requests made in the last 30 days. 99.85% success rate.
No-code-friendly.
Trustpilot stars 4.5

page2api git:( main ) export API_KEY=YOUR_API_KEY
page2api git:( main ) curl -s -XPOST -H "Content-type: application/json" -d '{

  "api_key": "'"$API_KEY"'",
  "url": "https://www.amazon.com/s?k=luminox+watches",
  "real_browser": true,
  "premium_proxy": "us",
  "parse": {
    "watches": [
      {
        "_parent": "[data-component-type='s-search-result']",
        "title": "h2 >> text",
        "link": ".a-link-normal >> href",
        "price": ".a-offscreen >> text",
        "stars": ".a-icon-alt >> text"
      }
    ]
  }
}' 'https://www.page2api.com/api/v1/scrape' | python3.10 -mjson.tool # this will format the response

...

"result": {
  "watches": [
    {
      "title": "Mens Wrist Watch Leatherback Sea Turtle Giant 44 mm Black",
      "link": "https://www.amazon.com/Luminox-Leather-back-Turtle-Giant-0337/dp/B07D58LGG9",
      "price": "$189.00",
      "stars": "4.6 out of 5 stars"
    },
    {
      "title": "Men's Navy Seal Pacific Diver 3120 Series Silver Stainless Steel",
      "link": "https://www.amazon.com/Luminox-Pacific-Silver-Stainless-Oyster/dp/B089GYKDHD",
      "price": "$399.00",
      "stars": "4.7 out of 5 stars"
    }, ...
  ]
}

...

page2api git:( main ) export API_KEY=YOUR_API_KEY
page2api git:( main ) curl -s -XPOST -H "Content-type: application/json" -d '{

  "api_key": "'"$API_KEY"'",
  "batch": {
    "urls": [
      "https://www.amazon.com/dp/B099ZCG8T5",
      "https://www.amazon.com/dp/B09PZM76MG"
    ],
    "concurrency": 1
  },
  "parse": {
    "title": "h1#title >> text",
    "price": ".a-price .a-offscreen >> text"
  }
}' 'https://www.page2api.com/api/v1/scrape' | python3.10 -mjson.tool # this will format the response

...

"result": [
  {
    "title": "ZOTAC Gaming GeForce RTX™ 3080 Trinity OC LHR 10GB GDDR6X 320-bit ...",
    "price": "$732.99"
  },
  {
    "title": "ZOTAC Gaming GeForce RTX 3080 Trinity OC LHR 12GB GDDR6X 384-bit ...",
    "price": "$899.99"
  }
],

...

page2api git:( main ) export API_KEY=YOUR_API_KEY
page2api git:( main ) curl -s -XPOST -H "Content-type: application/json" -d '{

  "api_key": "'"$API_KEY"'",
  "url": "https://www.instagram.com/explore/tags/nasa/",
  "parse": {
    "posts": [
      {
        "_parent": "article a[role=link]",
        "image": "img >> src",
        "url": "_parent >> href",
        "title": "img >> alt"
      }
    ]
  },
  "premium_proxy": "us",
  "real_browser": true,
  "scenario": [
    { "wait_for": "article a[role=link]" },
    { "execute_js": "document.querySelector(\"#scrollview + div\")?.remove();" },
    { "execute": "parse" }
  ]
}' 'https://www.page2api.com/api/v1/scrape' | python3.10 -mjson.tool # this will format the response

...

"result": {
  "posts": [
    {
      "image": "https://scontent-atl3-2.cdninstagram.com/v/t51.2885-15/316458796_1178373929701303_4921666824295792341_n.webp",
      "url": "https://www.instagram.com/p/ClNbXaVjDKK/",
      "title": "#mars_patrol #telescope #spacestation #spacecraft#spacefacts #spacex"
    },
    {
      "image": "https://scontent-atl3-2.cdninstagram.com/v/t51.2885-15/316401087_650636230178599_6751741630935740910_n.jpg",
      "url": "https://www.instagram.com/p/ClO8jyxhvUP/",
      "title": "HEART NEBULA. Also known as IC 1805, The Heart Nebula lies some 7500 light years away from Earth."
    }, ...
  ]
}

...

page2api git:( main ) export API_KEY=YOUR_API_KEY
page2api git:( main ) curl -s -XPOST -H "Content-type: application/json" -d '{

  "api_key": "'"$API_KEY"'",
  "url": "https://news.ycombinator.com",
  "real_browser": true,
  "merge_loops": true,
  "parse": {
    "posts": [
      {
        "_parent": ".athing",
        "rank": ".rank >> text",
        "title": ".titleline >> text",
        "url": ".titleline a >> href"
      }
    ]
  },
  "scenario" : [
    {
      "loop" : [
        { "wait_for": ".titleline" },
        { "execute": "parse" },
        { "execute_js": "document.querySelector(\".morelink\").click()" }
      ],
      "iterations": 3
    }
  ]
}' 'https://www.page2api.com/api/v1/scrape' | python3.10 -mjson.tool # this will format the response

...

"result": {
  "posts": [
    {
      "rank": "1.",
      "title": "Improving Firefox stability with this one weird trick (hacks.mozilla.org)",
      "url": "https://hacks.mozilla.org/2022/11/improving-firefox-stability-with-this-one-weird-trick/",
    },
    {
      "rank": "2.",
      "title": "Human-Level Play in Diplomacy Combining Language Models with Strategic Reasoning (facebook.com)",
      "url": "https://ai.facebook.com/blog/cicero-ai-negotiates-persuades-and-cooperates-with-people/",
    },
    ...
    {
      "rank": "90.",
      "title": "Self Hosting a Google Maps Alternative with OpenStreetMap (wcedmisten.fyi)",
      "url": "https://wcedmisten.fyi/post/self-hosting-osm/"
    },
  ]
}

...


Live Demo

POST
page2api.com/api/v1/scrape
{"url":"https://www.page2api.com","parse":{"title":"h1 \u003e\u003e text","docs_url":"#docs-url \u003e\u003e href","contact":"//a[contains(@href,'mailto')] \u003e\u003e text","features":[{"_parent":".feature-container","title":"h2 \u003e\u003e text","description":".feature-description \u003e\u003e text"}]}}

  Just click on that "SCRAPE" button.


Simple, clear pricing.

No credit card required.

Starter
$19 / month
Page2API credit With the Starter plan, every month you get $19 credit for the usage of Page2API platform.
The remaining credit from the previous month will not be transferred to the next month.
$19
Concurrency With the Starter plan you can scrape 2 pages at the same time. 2
With the Starter plan you can scrape 23,750 pages with datacenter proxy and no browser. Datacenter proxy • No browser
0.0008 $/page
With the Starter plan you can scrape 4,750 pages with datacenter proxy and real browser. Datacenter proxy • Real browser
0.0040 $/page
With the Starter plan you can scrape 2,375 pages with premium proxy and no browser. Premium proxy • No browser
0.0080 $/page
With the Starter plan you can scrape 950 pages with premium proxy and real browser. Premium proxy • Real browser
0.0200 $/page
Lite
$49 / month
Page2API credit With the Lite plan, every month you get $49 credit for the usage of Page2API platform.
The remaining credit from the previous month will not be transferred to the next month.
$49
Concurrency With the Lite plan you can scrape 5 pages at the same time. 5
With the Lite plan you can scrape 61,250 pages with datacenter proxy and no browser. Datacenter proxy • No browser
0.0008 $/page
With the Lite plan you can scrape 12,250 pages with datacenter proxy and real browser. Datacenter proxy • Real browser
0.0040 $/page
With the Lite plan you can scrape 6,125 pages with premium proxy and no browser. Premium proxy • No browser
0.0080 $/page
With the Lite plan you can scrape 2,450 pages with premium proxy and real browser. Premium proxy • Real browser
0.0200 $/page
Standard
$99 / month
Page2API credit With the Standard plan, every month you get $99 credit for the usage of Page2API platform.
The remaining credit from the previous month will not be transferred to the next month.
$99
Concurrency With the Standard plan you can scrape 50 pages at the same time. 50
With the Standard plan you can scrape 165,000 pages with datacenter proxy and no browser. Datacenter proxy • No browser
0.0006 $/page
With the Standard plan you can scrape 33,000 pages with datacenter proxy and real browser. Datacenter proxy • Real browser
0.0030 $/page
With the Standard plan you can scrape 16,500 pages with premium proxy and no browser. Premium proxy • No browser
0.0060 $/page
With the Standard plan you can scrape 5,500 pages with premium proxy and real browser. Premium proxy • Real browser
0.0180 $/page
Pro
$249 / month
Page2API credit With the Pro plan, every month you get $249 credit for the usage of Page2API platform.
The remaining credit from the previous month will not be transferred to the next month.
$249
Concurrency With the Pro plan you can scrape 100 pages at the same time. 100
With the Pro plan you can scrape 622,500 pages with datacenter proxy and no browser. Datacenter proxy • No browser
0.0004 $/page
With the Pro plan you can scrape 124,500 pages with datacenter proxy and real browser. Datacenter proxy • Real browser
0.0020 $/page
With the Pro plan you can scrape 62,250 pages with premium proxy and no browser. Premium proxy • No browser
0.0040 $/page
With the Pro plan you can scrape 16,600 pages with premium proxy and real browser. Premium proxy • Real browser
0.0150 $/page
The charges are applied monthly on the billing date, and on this date - the credit will be set to the amount corresponding to the chosen subscription plan.
The remaining credit from the previous month will not be transferred to the next month.

The above prices do not include VAT.

Ready to Scrape the Web like a PRO?

1000 free API calls.
Based on all requests made in the last 30 days. 99.85% success rate.
No-code-friendly.
Trustpilot stars 4.5