Skip to main content
cURL
Cost: 1 API credit per call.
Takes the id from Look up keywords. Needs the Growth plan or above (403 plan_required otherwise) and the research:read scope.

Read the months

data runs from the first month Alura has a figure for through history_through, the last completed UTC month, oldest first. There is no paging: every month comes in one response. etsy_through is the last month with an Etsy figure. Every etsy_searches after it is null: Etsy demand in those months is unknown, not zero. It can be months before history_through, for example a keyword last calculated in June (as_of) has Etsy figures through May. It is null when no month has one. A month without a figure is null, never 0. That happens for:
  • a gap in Alura’s data;
  • etsy_searches after the keyword’s last complete Etsy month (usually the month before as_of, earlier while later months are incomplete, later when the estimate was redone after as_of);
  • google_searches from the month the keyword was calculated in (as_of) on, which wasn’t over yet;
  • google_searches before the last 12 months or so, which is all Alura keeps;
  • every etsy_searches of a keyword whose competition.competing_listings is 0 or null;
  • every google_searches in Swedish (sv) and Chinese, Traditional (zh-TW).
A keyword’s trend.change_3m and trend.change_yoy come from these same months, so they always agree with this history. An unknown ID answers 404 not_found.

Authorizations

Authorization
string
header
required

An API key: Authorization: Bearer alura_sk_....

Path Parameters

id
string
required

Alura's keyword ID, from the keyword lookup.

Pattern: ^[1-9][0-9]{0,18}$
Example:

"88123"

Query Parameters

fields
string

Comma-separated dotted paths to return; id, object and as_of always come back.

Response

OK

object
string
required

Always research.history.

Allowed value: "research.history"
resource
object
required

The keyword this history is for.

granularity
string
required

Always month: one entry per calendar month.

Allowed value: "month"
history_through
string
required

The last completed UTC month; data ends here. It does not mean every month has a figure: etsy_through is the last one with an Etsy figure.

Pattern: ^\d{4}-\d{2}$
etsy_through
string | null
required

The last month in data with an Etsy figure (etsy_searches not null): every month after it has none, so Etsy demand after it is unknown, not zero. Earlier than history_through when the keyword was last calculated before then (see as_of). null when no month has one.

Pattern: ^\d{4}-\d{2}$
data
object[]
required

Every month from the first one Alura has a figure for through history_through, oldest first. A month without a figure is null: a gap; an Etsy month after the keyword's last complete Etsy month (see the keyword's volume.etsy_monthly); a Google month from the month of as_of on, which was not over when the keyword was calculated.

as_of
string
required

When the keyword was last calculated.