# 参数

- Crawling API 参数 可以传递给 Smart Proxy 作为带有前缀的标题 CrawlbaseAPI-Parameters: ....

这使得你可以向 Smart Proxy,使您能够定制请求以满足您的特定要求。

以下示例说明如何使用 Smart Proxy 发出地理定位请求,专门针对美国 country=US. 此外,还可以使用各种 API 参数,包括但不限于: store=true, device=mobileget_cookies=true.

  • curl
  • ruby
  • node
  • php
  • python
  • go

Using HTTP:

curl -H "CrawlbaseAPI-Parameters: country=US&get_headers=true" \
-x "http://[email protected]:8012" \
-k "http://httpbin.org/ip"

Using HTTPS:

curl -H "CrawlbaseAPI-Parameters: country=US&get_headers=true" \
-x "https://[email protected]:8013" \
-k "http://httpbin.org/ip"