Instagram Profile Posts Scraper API Javascript integration
Install dependency
npm i webcrawlerapi-js
How to get an access key?
Read Docs Access Key section to obtain a key.
Usage
import webcrawlerapi from "webcrawlerapi-js";
async function main() {
const client = new webcrawlerapi.WebcrawlerClient(
"YOUR API KEY HERE"
)
const response = await client.scrape({
input: {
"id": "@instagram",
"cursor": "QVFCQ2F6WkJPUE9wMk9uZXd0aVFHNkZiVHE2VnFHbDUtTkRrRVFyMW1CZUFvMkx4OEFHbjZ6UVViaURLZ3QwQlBBenk5aC1yLWc0cHFqTlFhcTMwMXk4OQ",
},
crawler_id: "webcrawler/instagram-profile-posts",
})
console.log(response)
}
main().catch(console.error);