Skip to main content
curl -X POST "https://api.latentgeo.com/backlinks/analyze/123?domain=example.com" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Analyze backlinks for a given audit and domain.

Path Parameters

audit_id
integer
required
The ID of the audit to analyze backlinks for

Query Parameters

domain
string
required
Domain to analyze backlinks for

Response

Returns an array of backlink objects.
id
integer
Unique identifier for the backlink record
audit_id
integer
The audit ID this backlink belongs to
source_url
string
The URL where the backlink originates from
target_url
string
The URL being linked to
anchor_text
string
The anchor text used in the backlink
is_dofollow
boolean
Whether the backlink is dofollow (passes link equity)
domain_authority
integer
Domain authority score of the source domain (0-100)
created_at
string
Timestamp when the backlink was discovered (ISO 8601 format)
[
  {
    "id": 1,
    "audit_id": 123,
    "source_url": "https://blog.example.com/article",
    "target_url": "https://example.com",
    "anchor_text": "Visit Example",
    "is_dofollow": true,
    "domain_authority": 65,
    "created_at": "2026-03-03T10:30:00Z"
  },
  {
    "id": 2,
    "audit_id": 123,
    "source_url": "https://news.site.com/review",
    "target_url": "https://example.com/product",
    "anchor_text": "Read more",
    "is_dofollow": false,
    "domain_authority": 42,
    "created_at": "2026-03-03T10:31:00Z"
  }
]

Error Codes

401
error
Unauthorized - Invalid or missing authentication token
403
error
Forbidden - User does not have access to this audit
404
error
Not Found - Audit ID does not exist

curl -X GET "https://api.latentgeo.com/backlinks/123" \
  -H "Authorization: Bearer YOUR_API_KEY"
Retrieve stored backlinks for an audit.

Path Parameters

audit_id
integer
required
The ID of the audit to retrieve backlinks for

Response

Returns an array of backlink objects with the same structure as the analyze endpoint.
[
  {
    "id": 1,
    "audit_id": 123,
    "source_url": "https://blog.example.com/article",
    "target_url": "https://example.com",
    "anchor_text": "Visit Example",
    "is_dofollow": true,
    "domain_authority": 65,
    "created_at": "2026-03-03T10:30:00Z"
  }
]

Error Codes

401
error
Unauthorized - Invalid or missing authentication token
403
error
Forbidden - User does not have access to this audit
404
error
Not Found - Audit ID does not exist

Build docs developers (and LLMs) love