Analyze Backlinks
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
The ID of the audit to analyze backlinks for
Query Parameters
Domain to analyze backlinks for
Response
Returns an array of backlink objects.
Unique identifier for the backlink record
The audit ID this backlink belongs to
The URL where the backlink originates from
The anchor text used in the backlink
Whether the backlink is dofollow (passes link equity)
Domain authority score of the source domain (0-100)
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
Unauthorized - Invalid or missing authentication token
Forbidden - User does not have access to this audit
Not Found - Audit ID does not exist
Get Backlinks
curl -X GET "https://api.latentgeo.com/backlinks/123" \
-H "Authorization: Bearer YOUR_API_KEY"
Retrieve stored backlinks for an audit.
Path Parameters
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
Unauthorized - Invalid or missing authentication token
Forbidden - User does not have access to this audit
Not Found - Audit ID does not exist