SEO Tags Generator API - ApyHub
SharpAPI
SharpAPI
verified icon
1000 atoms

About

The SEO Tags Generator API helps you automatically generate essential META tags for any web content, including titles, descriptions, and keywords. By providing content along with URLs and images, you can maximize tag coverage and improve search engine optimization.
Perfect for developers building SEO tools, content management systems, blogging platforms, or social media automation apps, this API streamlines META tag generation, boosts search engine visibility, and enhances social sharing performance. Use it to automate SEO for articles, optimize web pages, or enrich content for better discovery.
Try the SEO Tags Generator API in the playground, automate META tag creation, and improve your website’s SEO and social media presence with a single API call.
Apy Jobs are long running calls which are split into two actions:
1. Submitting the job
2. Checking the status of the job and receiving the response on successful completion of the job.
Select API Endpoints
Input(s)

API Playground

API Documentation

Generate SEO Tags Submit Job
POST
https://api.apyhub.com/sharpapi/api/v1/seo/generate_tags

Request example

1
curl --location --request POST 'https://api.apyhub.com/sharpapi/api/v1/seo/generate_tags' \
2
--header 'apy-token: {{token}}' \
3
--header 'Content-Type: application/json' \
4
--data '{
5
"content": "Red Bulls Max Verstappen says this weekends Las Vegas Grand Prix is 99% show and 1% sporting event. \n\n The triple world champion said he is not looking forward to the razzmatazz around the race, the first time Formula 1 cars have raced down the citys famous Strip. \n\n Other leading drivers were more equivocal about the hype.\n\n Aston Martins Fernando Alonso said: With the investment that has been made and the place we are racing, it deserves a little bit [of] different treatment and extra show. \n\n The weekend was kick-started on Wednesday evening with a lavish opening ceremony.\n\n It featured performances from several music stars, including Kylie Minogue and Journey, and culminated in the drivers being introduced to a sparsely populated crowd in light rain by being lifted into view on hydraulic platforms under a sound-and-light show. \n\n Lewis Hamilton said: Its amazing to be here. It is exciting - such an incredible place, so many lights, a great energy, a great buzz. \n\n This is one of the most iconic cities there is. It is a big show, for sure. It is never going to be like Silverstone [in terms of history and purity]. But maybe over time the people in the community here will grow to love the sport. \n\n Hamilton added: It is a business, ultimately. Youll still see good racing here. \n\n Maybe the track will be good, maybe it will be bad. It was so-so on the [simulator]. Dont knock it til you try it. I hear there are a lot of people complaining about the direction [F1 president] Stefano [Domenicali] and [owners] Liberty have been going [but] I think they have been doing an amazing job.",
6
"voice_tone": "joyous",
7
"language": "English"
8
}'
Method: POST
Content Type: application/json
Request Body
AttributeTypeMandatoryDescription
contentStringYesProvide the content to generate SEO tags.
voice_toneStringNoSpecify the voice tone of the output. It can be adjectives like funny or joyous, or even the name of a famous writer.
languageStringNoSpecify the language of the output, defaults to English.
Sample Response
1
{
2
"status_url": "https://api.apyhub.com/sharpapi/api/v1/seo/generate_tags/job/status/5de4887a-0dfd-49b6-8edb-9280e468c210",
3
"job_id": "5de4887a-0dfd-49b6-8edb-9280e468c210"
4
}

HTTP Response Codes

The method may return one of the following HTTP status codes:
Status CodeDescription
202The job was submitted successfully.
401Required authentication information is either missing or not valid for the resource.
400Invalid input - if the file is invalid or corrupted.
500If any unexpected error occurs while submitting the request.

Authentication

All API requests to ApyHub services need to be authenticated. Currently we support tokens or basic authentication mechanisms. You can generate and view your existing credentials from your workspace settings (on the left side of the navbar) and go to “API Keys".
Points to note:
  • Credential secrets are generated on the fly and are not stored in plain text, so on generating a credential please save the secrets somewhere safe.
  • Use the apy-token as the header parameter to pass the token.
  • Use the Authorization header to send the basic authentication credentials.

Error codes

1
{
2
"error": {
3
"code": 105,
4
"message": "Invalid URL"
5
}
6
}
To search for a specific error code, enter the code in the search box below. Alternatively, you can click on the button to view a complete list of all error codes.
Table of contents
AboutAPI PlaygroundAPI DocumentationAuthenticationError codesRelated Utility APIsRelated Articles