Skip to main content
POST
/
hashtags
/
auto
curl \
-H "Authorization: Bearer API_Key" \
-d '{"post": "Today is a great day!", "max": 3, "position": "auto"}'
-X POST https://api.ayrshare.com/api/hashtags/auto
{
    post: "Disney’s trouble with Oswald the #LuckyRabbit is a great lesson #ForStartups in a crisis"
}

Documentation Index

Fetch the complete documentation index at: https://www.ayrshare.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

When creating your post, add relevant hashtags by either embedding them within the text or placing them at the end. Our advanced AI system will analyze your content to generate appropriate hashtags based on the subject matter. Although you can use any language for your post, writing in English typically yields the best results for our hashtag generation process.

Header Parameters

Body Parameters

post
string
required
Post text to add the hashtags. Max length 1,000 characters.
position
string
validate
max
integer
default:2
Integer of max number of Hashtags to add. Max value range 1 to 10. Note: Instagram allows a maximum of 5 hashtags per post.
language
string
Specify the language code of the language of the post to assist the hashtag algorithm.
{
  "language": "fr"
}
curl \
-H "Authorization: Bearer API_Key" \
-d '{"post": "Today is a great day!", "max": 3, "position": "auto"}'
-X POST https://api.ayrshare.com/api/hashtags/auto
{
    post: "Disney’s trouble with Oswald the #LuckyRabbit is a great lesson #ForStartups in a crisis"
}