Free in betaSee integrations
Skip to content

Notes in scrape responses

Scrape responses now carry notes: short advice that says when a different option would return more.

Before: A plain fetch of a page whose content is built by scripts could return a page with text missing, and nothing told you why. A failed request gave you an error, with little about what to change.

Now: Scrape responses carry notes: short advice. A plain fetch of an HTML page that loads scripts gets an X-Note header, and a notes entry in the JSON response, that suggests js_render. Failed requests now say why they failed and which parameter to change. A note is advice only: the status and the charge do not change.

What this means for you: You find out when a different option would return more, without guessing. Read the note before you retry.

Use cases

  • Log X-Note in your pipeline and flag pages that need js_render.
  • Show the failure advice to a user when their request fails.
  • Switch a URL to js_render: true only when a note asks for it, and keep the rest at 1 credit.

Docs:Response headersJavaScript renderingErrors

Back to the changelog