PeumeAPI

Search & SEO

Citation trends by category

This endpoint will provide you with data on all citations in the target category for the indicated date range.

$0.036 per call

Call it

curl https://api.peume.com/v1/call/citation-trends-by-category \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "category_code": 10994,
    "search_mode": "as_is",
    "date_from": "2026-04-24",
    "date_group": "month"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: citation-trends-by-category.

Parameters

category_codeinteger

target category code required field to obtain a full list of available categories, refer to the Categories endpoint

Example: 10994

page_typearray

target page types optional field use this parameter to filter the dataset by page types possible values: "ecommerce", "news", "blogs", "message-boards", "organization"

search_modestring

results grouping type optional field possible grouping types: as_is – returns data on all citations for the target category_code one_per_domain – returns data on one citation of the category_code per domain default value: as_is

Example: as_is

internal_list_limitinteger

maximum number of elements within internal arrays optional field you can use this field to limit the number of elements within the following arrays: top_domains text_categories page_categories countries languages default value: 1 maximum value: 20

date_fromstring

starting date of the time range required field minimum value: 2022-10-31 date format: "yyyy-mm-dd" example: "2019-01-15"

Example: 2026-04-24

date_tostring

ending date of the time range optional field if you don’t specify this field, today’s date will be used by default date format: "yyyy-mm-dd" example: "2019-01-15"

date_groupstring

time range which will be used to group the results optional field default value: month possible values: day, week, month

Example: month

initial_dataset_filtersarray

initial dataset filtering parameters optional field initial filtering parameters that apply to fields in the Search endpoint; you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: regex, not_reg

rank_scalestring

defines the scale used for calculating and displaying the rank values optional field you can use this parameter to choose whether rank values are presented on a 0–100 or 0–1000 scale possible values: one_hundred — rank values are displayed on a 0–100 scale one_thousand — rank values are displayed on

tagstring

user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.