# Web data for market research - Spider

Crawl competitor sites, search industry news, and extract structured market data with one API. Get clean markdown or JSON for your research pipeline.

Canonical: https://spider.cloud/use-cases/market-research/

For analysts who start from a question, not a list of URLs. Search the web for a topic, crawl the sources you are allowed to use, and get clean markdown or JSON back from one API.

[Get an API key](https://spider.cloud/register/) [API reference](https://spider.cloud/docs/api/)

Search, then crawl, 2026-11-06

The topic was a Kubernetes question. Search found where it is written up, and the licence decided which site to crawl.

| Call   | What came back                                                                                                                                               | Time  | Cost    |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----- | ------- |
| Search | A topic in, 10 results out with their content as markdown, all status 200. 2 were on kubernetes.io, which publishes under CC BY 4.0. The other 8 stayed out. | 4.5 s | $0.0041 |
| Crawl  | The concepts section of the site the search found, 60 pages as markdown, all status 200, 202,123 tokens.                                                     | 6.5 s | $0.048  |
| Both   | Two short scripts turned the pages into 396 training records and 84 held-out sections.                                                                       | 11 s  | $0.052  |

Costs are the sum of the `costs.total_cost` fields in each response. Another site will cost something else. [Read how the run was done](https://spider.cloud/blog/build-fine-tuning-dataset-from-the-web/).

The two requests bash

```
curl -s https://api.spider.cloud/search \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"search": "kubernetes pod disruption budget explained", "search_limit": 10,
       "fetch_page_content": true, "return_format": "markdown"}' -o search.json
```

```
curl -s https://api.spider.cloud/crawl \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://kubernetes.io/docs/concepts/", "limit": 60,
       "return_format": "markdown", "whitelist": ["/docs/concepts/"],
       "metadata": true, "request": "http"}' -o crawl.json
```

One of the ten search results JSON, content trimmed

```
{
  "url": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
  "status": 200,
  "error": null,
  "content": "Specifying a Disruption Budget for your Application | Kubernetes\n[** Edit this page](https://github.com/kubernetes/website/edit/main/content/en/docs/tasks/run-application/configure-pdb.md)\n ...",
  "duration_elasped_ms": 1963,
  "costs": { "total_cost": 0.0008062928166666666 }
}
```

## What you can do with it.

- Licences

  A search result is not a licence. Read the terms of each site before the text goes into a report or a model. In the run above, that check decided what got crawled.

- Full text

  Set fetch_page_content to true and each search result comes back with the page itself, not a snippet.

- Regions

  Set country_code on a request to see the page as a visitor in that country does, for prices and offers that differ by market.

- Extraction

  Set extra_ai_data to true and describe what you need in custom_prompt, such as plan names and prices. The extracted JSON comes back beside the page.

Watching prices in particular? See [price monitoring](https://spider.cloud/use-cases/price-monitoring/). Pulling many sources into one feed? See [content aggregation](https://spider.cloud/use-cases/content-aggregation/).

## Start collecting competitive intelligence today.

Search and crawl through one API. No contracts, no minimum commitment.

[Get an API key](https://spider.cloud/register/) [Price monitoring](https://spider.cloud/use-cases/price-monitoring/)
