资源
网站
网站是核心资源 跟踪自己的网站、客户网站和竞争对手 - 没有所有权验证是必要的 SERP 和 AI 跟踪。
GET
/api/v1/websites阅读关键网站列表
验证:在授权标题中输入 API 密钥。
| 参数 | 在 | 类型 | 描述 |
|---|---|---|---|
| q | query | string | 按域名或域名过滤器 |
| tag | query | string | 按标签名称过滤器 |
| relationship | query | own | client | competitor | 过滤器 关系 |
| status | query | active | paused | archived | 缺陷到未存档 |
| limit | query | integer | 页面大小, max 1000 |
| offset | query | integer | 河流跳跃 |
请求
curl "https://devnoro.com/api/v1/websites" \
-H "Authorization: Bearer $DEVNORO_KEY"答案
{
"data": [{
"id": "cm1site9x0001", "domain": "example.com", "name": "Example",
"relationship": "own", "status": "active", "country": "US", "language": "en",
"searchConsoleConnected": true, "serpTracking": true, "aiTracking": true,
"healthScore": 86, "tags": ["Client"], "lastSyncedAt": "2026-10-02T06:00:00.000Z"
}],
"meta": { "total": 1, "limit": 100, "offset": 0 }
}POST
/api/v1/websites阅读和写钥匙添加一个网站
验证:在授权标题中输入 API 密钥。
| 参数 | 在 | 类型 | 描述 |
|---|---|---|---|
| domain* | body | string | 域名如 example.com;协议和www被删除 |
| name | body | string | 显示名称 |
| relationship | body | own | client | competitor | 默认自己的 |
| country | body | ISO 3166-1 alpha-2 | 假设我们 |
| language | body | ISO 639-1 | 默认的 |
| tags | body | string[] | 标签名称(如果缺席) |
请求
curl -X POST "https://devnoro.com/api/v1/websites" \
-H "Authorization: Bearer $DEVNORO_KEY" \
-H "Content-Type: application/json" \
-d '{ "domain": "example.com", "relationship": "client", "tags": ["Client", "SaaS"] }'答案
{ "data": { "id": "cm1site9x0001", "domain": "example.com", "status": "active", ... } }422 validation_errorinvalid domain or the domain already exists402 payment_requiredthe plan's website limit is reached
GET
/api/v1/websites/{id}阅读关键获取网站
验证:在授权标题中输入 API 密钥。
| 参数 | 在 | 类型 | 描述 |
|---|---|---|---|
| id* | path | string | 网站ID |
请求
curl "https://devnoro.com/api/v1/websites/cm1site9x0001" \
-H "Authorization: Bearer $DEVNORO_KEY"答案
{ "data": { "id": "cm1site9x0001", "domain": "example.com", ... } }404 not_found
PATCH
/api/v1/websites/{id}阅读和写钥匙更新网站
验证:在授权标题中输入 API 密钥。
| 参数 | 在 | 类型 | 描述 |
|---|---|---|---|
| name | body | string | 显示名称 |
| tags | body | string[] | 取代所有标签 |
| serpTracking | body | boolean | 跟踪SERP |
| aiTracking | body | boolean | 开启或关闭 AI 可见度跟踪 |
| status | body | active | paused | 休息收藏 |
| 已归档 | body | boolean | 档案或恢复 |
请求
curl -X PATCH "https://devnoro.com/api/v1/websites/cm1site9x0001" \
-H "Authorization: Bearer $DEVNORO_KEY" \
-H "Content-Type: application/json" \
-d '{ "tags": ["Client"], "aiTracking": false }'答案
{ "data": { "id": "cm1site9x0001", "tags": ["Client"], "aiTracking": false, ... } }DELETE
/api/v1/websites/{id}阅读和写钥匙删除网站及其所有数据
验证:在授权标题中输入 API 密钥。
请求
curl -X DELETE "https://devnoro.com/api/v1/websites/cm1site9x0001" \
-H "Authorization: Bearer $DEVNORO_KEY"答案
{ "data": { "deleted": true } }404 not_found
POST
/api/v1/websites/{id}/refresh阅读和写钥匙查询数据收集
验证:在授权标题中输入 API 密钥。
| 参数 | 在 | 类型 | 描述 |
|---|---|---|---|
| kinds | body | ('serp'|'ai'|'backlinks'|'gsc')[] | 缺陷 所有人 |
请求
curl -X POST "https://devnoro.com/api/v1/websites/cm1site9x0001/refresh" \
-H "Authorization: Bearer $DEVNORO_KEY" \
-H "Content-Type: application/json" \
-d '{ "kinds": ["serp", "ai"] }'答案
{ "data": { "jobs": [{ "id": "cm1job…", "type": "serp.collect", "status": "queued" }] } }