Create a Subscription
This API Endpoint allows you to subscribe to any RSS, ATOM or JSON-Feed and get a Webhook whenever there is a new item in the Feed. Learn more about subscribing to Feeds.
Endpoint
https://api.rssapi.net/v1/apikey/subscribeParameters
urlstring required- The URL of a RSS, ATOM or JSON-Feed
infostring optional- Optional info associated with this subscription (useful for matching a subscription with an item in your system)
Example
https://api.rssapi.net/v1/apikey/subscribe?url=https://www.nasa.gov/rss/dyn/breaking_news.rsscURL (replace apikey with your API Key):
curl "https://api.rssapi.net/v1/apikey/subscribe?url=https://www.nasa.gov/rss/dyn/breaking_news.rss"Response:
{
"ok": true,
"result": {
"status": "subscribed",
"subscription_id": "22946",
"feed_type": "rss",
"webhook_url": "https://example.org/webhook",
"url": "https://www.nasa.gov/rss/dyn/breaking_news.rss",
"info": ""
}
}