List Feeds
This API endpoint returns a list of all available threat intelligence feeds.
Endpoint: https://apis.threatwinds.com/api/feeds/v1/list
Parameters
Headers
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
| Authorization | header | string | Optional | Bearer token from an active session. Authentication is optional but improves rate limits. |
| api-key | header | string | Optional | API key. Authentication is optional but improves rate limits. |
| api-secret | header | string | Optional | API secret. Authentication is optional but improves rate limits. |
Request
To get a list of all available feeds, use a GET request, for example:
curl -X 'GET' \
'https://apis.threatwinds.com/api/feeds/v1/list' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <YOUR_BEARER_TOKEN>'
Or using API key and secret:
curl -X 'GET' \
'https://apis.threatwinds.com/api/feeds/v1/list' \
-H 'accept: application/json' \
-H 'api-key: <YOUR_API_KEY>' \
-H 'api-secret: <YOUR_API_SECRET>'
Response
A successful response will return a JSON array of feed items, each containing:
| Field | Description |
|---|---|
| name | The name of the feed (for example, “ip”, “md5”) |
| type | The type of the feed (for example, “accumulative”, “daily”) |
| accuracy | The accuracy level of the feed (for example, “level1”, “level2”, “level3”) |
Example response:
[
{
"name": "ip",
"type": "accumulative",
"accuracy": "level1"
},
{
"name": "md5",
"type": "daily",
"accuracy": "level2"
},
{
"name": "domain",
"type": "accumulative",
"accuracy": "level3"
}
]
Error Response Headers
For responses with status codes other than 200, the following headers are included:
| Header | Description |
|---|---|
| x-error | Human-readable error message describing what went wrong |
| x-error-id | Unique identifier for error tracking and support |
Error Codes
| Status Code | Description | Possible Cause |
|---|---|---|
| 200 | OK | Feed list retrieved successfully |
| 400 | Bad Request | Invalid request parameters |
| 500 | Internal Server Error | Server-side error; please contact support if persistent |