Validate Source
POST
/v1/sources/validate
Check if a URL can be used as a source. Returns whether the URL is crawlable and any discovered RSS feeds.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Check if a URL is crawlable before adding it as a source.
/v1/sources/validate
Check if a URL can be used as a source. Returns whether the URL is crawlable and any discovered RSS feeds.
| Field | Type | Required | Description |
|---|---|---|---|
url | string | Yes | URL to validate |
curl -X POST https://twixb.com/api/v1/sources/validate \
-H "X-API-Key: twxb_your_key_here" \
-H "Content-Type: application/json" \
-d '{"url": "https://techcrunch.com"}'
{
"url": "https://techcrunch.com",
"source_type": "blog",
"crawlable": true,
"error": null,
"rss_feeds": [
{
"url": "https://techcrunch.com/feed/",
"title": null,
"description": null,
"is_category_match": false
}
],
"recommended_feed": "https://techcrunch.com/feed/"
}
| Field | Type | Description |
|---|---|---|
crawlable | boolean | Whether the URL can be used as a source |
source_type | string | Detected source type |
error | string | Error message if not crawlable |
rss_feeds | array | Discovered RSS feeds |
recommended_feed | string | Best RSS feed to use |