List the websites assistants cite, one row per host
/v1/results/accounts/presence/source-hosts/tableLists the websites that answers cite, one row per host, with how often each was cited over some dates. support.example.com and www.example.com are two rows; add up domain to make them one.
ownership says whether a site is yours, a tracked competitor's, or neither. citesYou can be less than citations on a site you share, such as your page on a social network.
Sites are sorted by citations, most first. search matches the host. For the pages of a site, see Get cited pages, and for the answers that cite it, send its host to List answers.
curl "https://api.eu.silktide.com/v1/results/accounts/presence/source-hosts/table?workspaceId=1&marketId=3&rowsPerPage=2" \
-H "Authorization: silktide token=$SILKTIDE_API_KEY"{
"result": {
"page": 1,
"minPage": 1,
"maxPage": 84,
"numRows": 168,
"rowsPerPage": 2,
"rows": [
{
"hostKey": "fakewinebarrel.com",
"host": "fakewinebarrel.com",
"domain": "fakewinebarrel.com",
"sourceType": "corporate",
"sourceTypeReason": "A company selling oak barrels.",
"sourceTypeOrigin": "classified",
"urlCount": 21,
"citations": 828,
"citesYou": 828,
"shareOfCitations": 14.8,
"ownership": "mine",
"ownerBrandId": 4,
"ownerName": "Fake Wine Barrel"
},
{
"hostKey": "winemakersforum.example",
"host": "winemakersforum.example",
"domain": "winemakersforum.example",
"sourceType": "ugc",
"sourceTypeReason": "A forum where winemakers compare equipment.",
"sourceTypeOrigin": "corrected",
"urlCount": 37,
"citations": 715,
"citesYou": 0,
"shareOfCitations": 12.8,
"ownership": "none",
"ownerBrandId": null,
"ownerName": null
}
]
},
"selector": "/v1/results/accounts/presence/source-hosts/table",
"duration": 1.3
}Request
Query parameters
workspaceIdintegerrequiredat least 1Where the account's markets live. Get the workspace answers with it.
marketIdintegerat least 1Only this market: the number after
/presence/in the market's address in Silktide. Left out, every market the API key's user can see.fromintegerOnly answers asked for at or after this time, in Unix seconds. Defaults to 30 days before
to.tointegerOnly answers asked for at or before this time, in Unix seconds. Defaults to now.
platformsstringOnly these assistants, by id, comma-separated, such as
chatgpt,gemini. Left out, all of them. An unknown id matches nothing.excludePlatformsstringLeave out these assistants, by id, comma-separated, such as
google-search,bing-search.topicsstringOnly these topics, by id, comma-separated. Left out, all of them.
brandsstringOnly answers that name at least one of these brands, by id, comma-separated. Ids of brands the account does not track are ignored.
arenastringWhich prompts' answers to read:
marketfor prompts about a subject,reputationfor prompts about a brand itself, orall. Defaults toall. Any other value answers with an error.One of
allmarketreputationhoststringOnly this host, exactly.
ownerstringOnly what these brands own: brand ids, comma-separated,
trackedfor any brand you track, oruntrackedfor none of them.sourceTypesstringOnly these kinds of website, comma-separated, such as
editorial,ugc.unclassifiedis those with no kind yet.columnsstringThe columns to return, comma-separated, such as
url,pageViews. Left out, the table's default columns. Send a string even in a JSON body: an array is ignored.sortstringThe column to sort by, then
:afor ascending or:dfor descending, such aspageViews:d. Left out, the table's own order.searchstringOnly rows matching this text. What it searches depends on the table, most often the URL or title.
pageintegerat least 1The page of rows to return, from
1. Defaults to1.rowsPerPageintegerat least 1How many rows a page holds. Defaults to
100.
Response
200JSON.
resultobjectrequiredThe answer.
Show 6 fieldsHide fields
pageintegerrequiredat least 1The page returned. Not always the page asked for, when that was out of range.
minPageintegerrequiredat least 1The first page. Always
1.maxPageintegerrequiredThe last page at this
rowsPerPage. With no rows,0or1depending on the table.numRowsintegerrequiredHow many rows there are across every page.
rowsPerPageintegerrequiredat least 1How many rows a page holds.
rowslist of objectsrequiredThe rows on this page.
Show 13 fieldsHide fields
hostKeystringrequiredThe row's id: its
host.hoststringrequiredThe host, such as
blog.fakewinebarrel.com.domainstringrequiredThe domain it belongs to, such as
fakewinebarrel.com, to add up a website's hosts.sourceTypestringrequiredWhat kind of website it is:
corporate,editorial,aggregator(directories and reviews),ugc(forums and social),reference,institutionalorother. Empty when not classified yet. A kind can be added.sourceTypeReasonstringrequiredWhy it was given that kind, in a sentence. Empty when not classified yet.
sourceTypeOriginstringrequiredcorrectedwhen someone in your account set the kind, otherwiseclassified.urlCountintegerrequiredHow many of its pages were cited.
citationsintegerrequiredHow many times answers cited it.
citesYouintegerrequiredOf those, how many were pages of your own brands.
shareOfCitationsnumberrequired0 to 100Its percentage of every citation in the same answers, to one decimal place.
hostandownerdo not change what it is a share of.ownershipstringrequiredWhose it is:
minefor one of your own brands,rivalfor any other brand you track, ornone. It follows your brands' web addresses as they are now, for older answers too.One of
minerivalnoneownerBrandIdintegerrequiredcan be nullat least 1The tracked brand it belongs to. Null when it belongs to none.
ownerNamestringrequiredcan be nullThat brand's name. Null when it belongs to none.
selectorstringrequiredThe query that answered, as its path:
/v1/results/scores.durationnumberrequiredSeconds Silktide took to answer.
Errors
| Status | Type | When |
|---|---|---|
| 200 | EditionNotAvailable | The account does not have Silktide 5. Its status is 403. The body is an error despite the status. |
| 200 | Runtime | No workspaceId was sent, or arena is not one of its values. Its status is 500, and its message does not say why. The body is an error despite the status. |
| 200 | AccessDenied | No such workspace or market exists in the account, or the API key's user cannot see it. Its status is 403. The body is an error despite the status. |
| 401 | NotLoggedIn | No API key was sent, or it is not a key for this region.(any operation) |
| 429 | TooManyRequests | Too many requests to this path in five seconds. Retry after the number of seconds in the Retry-After header, which properties.retryAfter repeats.(any operation) |
| 503 | - | Silktide is busy. Retry after the number of seconds in the Retry-After header.(any operation) |
Every error has the same body. See Errors.
Access
- Permission
- Can see this market
- Plan feature
- None
- Edition
- Silktide 5 only
- Cost
- Free
- Available since
- v1.2.0
Try it
Sends a real request to your account from this browser. Your key stays in this tab and goes only to the Silktide API.