Skip to main content
POST
/
feed
curl \
-H "Authorization: Bearer API_KEY" \
-H 'Content-Type: application/json' \
-d '{"url": "https://www.nytimes.com"}' \
-X POST https://api.ayrshare.com/api/feed
{
  "status": "success",
  "id": "4HZhptaD5",
  "title": "Pulte's Money and Life Thoughts",
  "websiteLink": "https://pulte.substack.com",
  "rssURL": "https://pulte.substack.com/feed"
}
Add a new RSS feed for automated posting of new articles. Posts will be automatically sent to your linked social accounts: Facebook, LinkedIn, and Telegram. Also Instagram and Pinterest if a valid image can be found in the article.
X/Twitter is no longer supported for RSS feeds. As of March 31, 2026, X requires your own API credentials for each request, which is incompatible with automated RSS posting. Use scheduled posts or direct API calls with your BYO credentials instead.

Header Parameters

Body Parameters

url
string
required
URL of the RSS feed to add.
useFirstImage
boolean
default:false
Attempt to get the first or top image in the article and add it to the post.
autoHashtag
boolean
default:false
Automatically add up to 3 hashtags to the post text based on the most relevant keywords.
type
string
default:"rss"
Value: rss, substack, or youtube.
platforms
array
Social network platforms to publish the article. If not provided, defaults to all connected platforms. Available platforms:
{
  "platforms": ["facebook", "instagram", 
    "linkedin", "pinterest"]
}
curl \
-H "Authorization: Bearer API_KEY" \
-H 'Content-Type: application/json' \
-d '{"url": "https://www.nytimes.com"}' \
-X POST https://api.ayrshare.com/api/feed
{
  "status": "success",
  "id": "4HZhptaD5",
  "title": "Pulte's Money and Life Thoughts",
  "websiteLink": "https://pulte.substack.com",
  "rssURL": "https://pulte.substack.com/feed"
}