Web Scraping API and Webhook Delivery: How to Receive Scraped Data
The scraper is half the job; the other half is how data reaches your CRM, database or app. Pull API, webhook, database or scheduled file: formats, schedules and the eight things to specify.
Your developers want scraped prices in the product database every morning. Your sales team wants new leads in the CRM the moment they appear. Your analyst just wants a clean CSV every Sunday. All three are "web scraping", but they need different delivery: a scheduled file, a database load, a pull API or a webhook.
Short answer: choose the delivery method by who or what reads the data. People read files on a schedule; dashboards read a database table; applications call a pull API; workflows that must react to changes listen to a webhook. Whatever you choose, fix the schema first. A Bot Harbour Saudi business file such as the retail stores database has 39,539 rows and 29 columns; as a weekly full file that is the whole table each time, while a webhook sends only the rows that changed.
Key facts (checked October 2026)
- Bot Harbour's maps-plus-website files for Saudi Arabia have 29 columns per business, from name and phone to coordinates, opening hours and 11 social or messaging links.
- Bot Harbour's web scraping service delivers CSV, Excel, JSON or an agreed database destination, with field names and data types defined before delivery.
- Recurring projects can include agreed schedules, bounded retries, run logs and failure notifications.
- Pull API and webhook delivery are integration choices you specify in the brief; ask the provider to confirm them in the scope.
Who needs API or webhook delivery?
Product and engineering teams that feed scraped data into an app, operations teams automating workflows (a new listing triggers a task), and data teams loading a warehouse. If a person opens the data once a week, a scheduled file is simpler and cheaper to run.
What are the delivery options?
- Pull API: your system calls an endpoint and gets the latest results in JSON. You control timing; you must handle paging and errors.
- Webhook: the scraper calls your URL with each new result. Fast, but your endpoint must be up, must answer quickly and must ignore duplicates.
- Scheduled file: CSV, Excel or JSON after each run. The easiest to audit and to share.
- Database table: rows loaded after each run, ready for BI tools.
What should I specify for scraping delivery?
- Method: file, database, pull API or webhook, and who owns the receiving side.
- Schema: column names, types, units, currency and how empty values look (empty string or null).
- Unique key: the ID that makes a row the same row next time, such as product URL or store ID plus SKU.
- Full or changes only: the whole table each run, or new, changed and removed rows flagged.
- Schedule and time zone: for example daily at 06:00 Riyadh time, plus extra runs on sale days.
- Webhook details: target URL, authentication, retries if your endpoint fails, and a signature or secret to verify the sender.
- Failure alerts: who is told when a run fails or returns far fewer rows than usual.
- Retention: how long past runs are kept, so you can compare prices or listings over time.
Paste these eight lines into the custom data request form or the brief you send any provider.
How do I check the delivery before going live?
- Test payload: ask for one real run delivered by the chosen method and load it into your system end to end.
- Schema check: compare every field with the agreed schema, including Arabic text encoding (UTF-8) and decimal separators in prices.
- Failure drill: take your webhook endpoint down for an hour, or block a file drop, and see what retries and alerts do.
What do I do once data is flowing?
Watch row counts per run for the first month; a sudden drop usually means a source page changed. Keep raw results for a while so you can re-process them if the schema changes. For price and stock projects, our guide to website scraping for price monitoring covers fields and matching; if you are still deciding whether to scrape at all, see data scraping vs a ready dataset.
Frequently asked questions
What is a web scraping API?
An interface that returns scraped data in a structured format, usually JSON, when your system requests it. Some APIs also start a scrape on request; others serve the results of scheduled runs.
What is the difference between a webhook and an API for scraping?
With an API, your system asks for data. With a webhook, the scraper sends data to your system as soon as it has it.
Which format is best for scraped data?
JSON for systems and APIs, CSV or Excel for people, and a database table for dashboards. Many projects deliver two: JSON to the system and a weekly Excel summary for the team.
Do I need real-time scraping?
Rarely. Most price, stock and lead use cases work with daily or weekly runs. Real-time delivery adds cost and failure points, so ask for it only when someone acts within minutes.
More articles
- How to Write a Dataset Request Brief (Template for Saudi B2B Data)
- Private Company Data in Saudi Arabia: What Is Public, What Is Not, and How to Buy It
- Custom Dataset vs Ready Dataset in Saudi Arabia: Which One Do You Need?
- Data Scraping Services vs Buying a Ready Dataset: Which Should You Choose?
- Website Scraping Services for E-commerce Price and Catalog Monitoring
- Web Scraping for Lead Generation: From Public Source to CRM in 8 Steps