Skip to content

Analyse one URL now (Instant Analysis)

POST
/instant-analysis
curl --request POST \
--url https://api.traaker.ai/api/public/v1/instant-analysis \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "brandId": "example", "url": "https://example.com", "contentType": "product", "rewrite": false }'

Synchronous, about 25 s, nothing stored. 1 credit (+2 with rewrite), charged only on success. Its own hourly rate limit (10 000 per hour per account), separate from the 1000/hour of the other routes. Unlike every other route, the 200 body is the PageResult itself and errors are { error } objects. Pages that need the slowest fetch step time out (504 analysis_timeout, not charged): use the batch API for those.

Media type application/json
object
brandId
required
string
url
required
string format: uri
contentType
string
Allowed values: product category page article listing establishment encyclopedia profile job_posting
rewrite

Also rewrite the page (+2 credits).

boolean

The page result

Media type application/json
object
url
string
urlHash

First 16 hex of sha256(url).

string
contentType

The type the page was analysed as; auto only on a failed page whose type was never decided.

string
Allowed values: auto product category page article listing establishment encyclopedia profile job_posting
platform
string
Allowed values: own_site other_third_party leboncoin booking tripadvisor pagesjaunes wikipedia amazon airbnb linkedin instagram indeed ebay etsy walmart aliexpress mercadolibre rakuten zalando cdiscount fnac allegro flipkart shopee app_store google_play expedia hotels_com vrbo agoda getyourguide viator thefork opentable capterra producthunt crunchbase upwork fiverr houzz doctolib youtube medium substack quora
templateId

The Output Template the page was evaluated against.

string
structure

Each section of the template: present, partial or missing on the page.

Array<object>
object
key
string
status
string
Allowed values: present partial missing
detectedType

How an auto type was decided.

object
type
string
Allowed values: product category page article listing establishment encyclopedia profile job_posting
source
string
Allowed values: structured_data jev fallback
canonicalUrl

The page’s rel=canonical.

string
status
string
Allowed values: analysed failed
failureReason
string
Allowed values: not_found blocked timeout not_html too_little_text analysis_failed deadline
fetchStep
string
Allowed values: plain headless unlocker
score
number
<= 100
weightCovered

Share of the type’s weights that was measured; absent dimensions are rescaled out.

number
scoreBeforeGate
number
gates
Array<string>
dimensions
Array<object>
object
id
string
score
number
absentReason

Why the dimension is left out of the score (never 0).

string
Allowed values: not_actionable no_validated_strategy not_applicable extraction_failed
evidence
string
summary

2–3 sentences, in the brand’s working language.

string
recommendations
Array<object>
object
recoTypeId
string
impact
string
Allowed values: low medium high
evidence
string
fix
string
rewrite

Rewritten sections keyed by the template’s section keys (when asked).

object
key
additional properties
string
fetchedAt
string format: date-time
specVersion
integer

Example

{
"contentType": "auto",
"platform": "own_site",
"structure": [
{
"status": "present"
}
],
"detectedType": {
"type": "product",
"source": "structured_data"
},
"status": "analysed",
"failureReason": "not_found",
"fetchStep": "plain",
"dimensions": [
{
"absentReason": "not_actionable"
}
],
"recommendations": [
{
"impact": "low"
}
]
}

Invalid body.

Media type application/json
object
error

E.g. insufficient_credits, rate_limited, analysis_timeout, blocked.

string
message
string
needed
integer
available
integer
retryAfterMs
integer

Example generated

{
"error": "example",
"message": "example",
"needed": 1,
"available": 1,
"retryAfterMs": 1
}

Missing, malformed or revoked API key.

Media type application/json
object
error

E.g. insufficient_credits, rate_limited, analysis_timeout, blocked.

string
message
string
needed
integer
available
integer
retryAfterMs
integer

Example generated

{
"error": "example",
"message": "example",
"needed": 1,
"available": 1,
"retryAfterMs": 1
}

Not enough credits (insufficient_credits), or the subscription is not active.

Media type application/json
object
error

E.g. insufficient_credits, rate_limited, analysis_timeout, blocked.

string
message
string
needed
integer
available
integer
retryAfterMs
integer

Example generated

{
"error": "example",
"message": "example",
"needed": 1,
"available": 1,
"retryAfterMs": 1
}

API access is not enabled for this account.

Media type application/json
object
error

E.g. insufficient_credits, rate_limited, analysis_timeout, blocked.

string
message
string
needed
integer
available
integer
retryAfterMs
integer

Example generated

{
"error": "example",
"message": "example",
"needed": 1,
"available": 1,
"retryAfterMs": 1
}

No such brand on this account.

Media type application/json
object
error

E.g. insufficient_credits, rate_limited, analysis_timeout, blocked.

string
message
string
needed
integer
available
integer
retryAfterMs
integer

Example generated

{
"error": "example",
"message": "example",
"needed": 1,
"available": 1,
"retryAfterMs": 1
}

The page could not be analysed (blocked, not_found, not_html, too_little_text). Not charged.

Media type application/json
object
error

E.g. insufficient_credits, rate_limited, analysis_timeout, blocked.

string
message
string
needed
integer
available
integer
retryAfterMs
integer

Example generated

{
"error": "example",
"message": "example",
"needed": 1,
"available": 1,
"retryAfterMs": 1
}

Hourly Instant Analysis limit exhausted (rate_limited, with retryAfterMs).

Media type application/json
object
error

E.g. insufficient_credits, rate_limited, analysis_timeout, blocked.

string
message
string
needed
integer
available
integer
retryAfterMs
integer

Example generated

{
"error": "example",
"message": "example",
"needed": 1,
"available": 1,
"retryAfterMs": 1
}

The analysis did not fit its budget (analysis_timeout). Not charged.

Media type application/json
object
error

E.g. insufficient_credits, rate_limited, analysis_timeout, blocked.

string
message
string
needed
integer
available
integer
retryAfterMs
integer

Example generated

{
"error": "example",
"message": "example",
"needed": 1,
"available": 1,
"retryAfterMs": 1
}