获取最近最多 7 天的 TRO(Temporary Restraining Order)案件列表。通过 days 参数控制时间范围(最大7天),limit 参数控制返回条数(最多100条)。适用于需要监控最新 TRO 动态的场景。
请求参数
| 参数 | 类型 | 必填 | 默认 | 说明 |
|---|---|---|---|---|
days | number | ❌ | 7 | 查询最近几天的数据,范围 1-7 天 |
limit | number | ❌ | 50 | 返回的最大条数,范围 1-100 |
请求示例
{
"days": 7,
"limit": 50
} cURLPython
curl -X POST "https://api.trohub.com/v1/tro/recent" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"days":7,"limit":50}'import requests
url = "https://api.trohub.com/v1/tro/recent"
headers = {
"X-API-Key": "YOUR_API_KEY",
"Content-Type": "application/json"
}
payload = {"days": 7, "limit": 50}
response = requests.post(url, headers=headers, json=payload)
print(response.json()) 🔧 API 沙盒测试 POST
/tro/recent 响应示例
{
"ok": true,
"message": "成功",
"responseType": "v2",
"data": [
{
"title": "Brandowner LLC et al v. The Individuals et al",
"caseDate": "2026-07-10",
"caseNumber": "1:26-cv-00245",
"docketID": "fdb41b2e-8e56-4eb8-96ef-042d919c5e01",
"plaintiff": "Brandowner LLC",
"court": "N.D. Ill."
},
{
"title": "Another Plaintiff Inc v. John Does",
"caseDate": "2026-07-09",
"caseNumber": "2:26-cv-00123",
"docketID": "abc12345-6789-4efg-hijk-0lmnopqrstuv",
"plaintiff": "Another Plaintiff Inc",
"court": "C.D. Cal."
}
]
}