# 响应

当向 Crawlbase Screenshots API 发出请求时,您会得到响应。

页面的屏幕截图将是响应本身的正文和 响应体 将添加到响应标头中。

GET `https://api.crawlbase.com/screenshots?token=_USER_TOKEN_&url=https%3A%2F%2Fapple.com`
Response:
  Headers:
    success: true
    remaining_requests: 3491
    url: https://apple.com

  Body:
    The screenshot of the page.

# 响应体

响应将返回以下参数作为标头,这将让您知道您的屏幕截图请求发生了什么。

# 成功

  • Type boolean

一个布尔值,指示请求是否成功。 失败的请求被标记为假并且不收费。

# 剩余请求

  • Type number

订阅计划中剩余的请求数。 如果您的积分用完,请升级您的订阅或联系支持人员。

# 网址

  • Type string

请求中发送的原始 url 或 Crawlbase 遵循的重定向的 url。