Domain

Website Screenshot API

Get a screenshot of a website’s homepage without running a browser yourself. The API returns the URL of a WebP image hosted on screenshot.xranks.com that you can show directly in your app.

Use cases: Show website previews in a directory or CRM; Add thumbnails to link lists; Check what a site looks like before you review it.

get/api/v1/domain/screenshot

Request

  • Base URL: https://xranks.com
  • URL: https://xranks.com/api/v1/domain/screenshot
  • Auth: API key in header Authorization

Query parameters

domainstring required

A domain or a full URL: https://www.github.com/about is read as github.com.

Response

Data for the domain. May instead be an Error object (HTTP 200) when the domain is unknown.

OR

Changes

No recorded changes to this operation across all 1 revision of this API.