Public API

byLegit public data

Retrieve a domain’s public information, rating and latest reviews from your application. Every request requires a personal API key.

Authentication

Create a key in Settings → API. It starts with blp_ and is shown once. Send it in the Authorization header, never in the request URL or visitor-visible code.

HEADERAuthorization header
Authorization: Bearer blp_your_personal_key
Manage my keys

1. Domain information

Returns the name, description, category, rating, review count, public contacts, logo and byLegit profile link.

GET/api/public/v1/domain
curl "https://bylegit.com/api/public/v1/domain?domain=example.com"   -H "Authorization: Bearer blp_your_personal_key"

2. Domain rating

A lightweight response with the current weighted rating, review count and update date.

GET/api/public/v1/domain-rating
curl "https://bylegit.com/api/public/v1/domain-rating?domain=example.com"   -H "Authorization: Bearer blp_your_personal_key"

3. Latest reviews

Returns newest reviews first. limit defaults to 3 and accepts a value from 1 to 50. Reviewer anonymity preferences are always respected.

GET/api/public/v1/domain-reviews
curl "https://bylegit.com/api/public/v1/domain-reviews?domain=example.com&limit=10"   -H "Authorization: Bearer blp_your_personal_key"

Responses and errors

  • 200successful request; the result is in data.
  • 400invalid domain or parameters.
  • 401missing, invalid or revoked key.
  • 404domain is not listed on byLegit.