Quickstart
Create an API key, find your account's region, and make your first request in five minutes.
The Silktide API is REST over HTTPS. You send JSON, you get JSON back, and every request carries your API key. Here is the shortest path from nothing to a working request.
Create an API key#
An account administrator creates keys in Silktide:
- Sign in to Silktide.
- Open Settings, then API.
- Create a key, give it a name you will recognize later, and copy it.
A key can read and change your account the way an administrator can, so treat it like a password. Keep it out of source control and out of anything that runs in a browser. You can show a key again later, or delete it; anything still using a deleted key stops at once. More about the API screen.
Put the key in an environment variable so the examples on this site work as they are:
export SILKTIDE_API_KEY="paste your key here"Find your region#
Every Silktide account lives in one region, and each region has its own API host. A key works only on its own region's host.
| Region | API host |
|---|---|
| Europe | https://api.eu.silktide.com |
| United States | https://api.us.silktide.com |
| Australia | https://api.au.silktide.com |
Not sure which is yours? Sign in to Silktide and look at the address bar: it contains eu, us or au. Choose your region in the request examples on this site, and they will use that host.
Make your first request#
Ask for the websites in your account:
curl https://api.eu.silktide.com/v1/websites \
-H "Authorization: silktide token=$SILKTIDE_API_KEY"A 200 with a list of websites means everything works. The response looks like this, with your own websites in it:
{
"websites": [
{
"subsiteId": "2-0",
"websiteId": 2,
"sectionId": 0,
"name": "Fake University",
"homeUrl": "https://fake-university.example/",
"websiteStatus": "live",
"numPages": 812,
"numDocuments": 40
}
]
}If you get 401, the key is wrong or belongs to another region. See Authentication.
Try it without writing code#
Every operation's page has a Try it panel. Paste your key, choose your region, and send the request from your browser. Your key stays in that browser tab and goes only to the Silktide API.
Next steps#
- Add a website and read its scores, from start to finish.
- Errors, so your code can tell what went wrong.
- Rate limits, before you write a loop.
- The OpenAPI document, to generate a client or import the API into Postman.
- Build with a coding agent, to point Cursor, Claude Code or Codex at these docs.