About this endpoint
What it does
Generates SEO meta tags for a page from the provided body fields and returns them both as ready-to-paste HTML and as key-value pairs. The response also includes the name of the tool that produced the result.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | No | Page URL. |
| type | String | No | Meta type value. |
| image | String | No | Image URL or path used in the generated tags. |
| title | String | Yes | Page title. |
| siteName | String | No | Site name used in the generated tags. |
| description | String | Yes | Page description. |
| twitterCard | ENUM | No | Twitter card type. Allowed values: summary, summary_large_image. |
Response
Returns a JSON object with required tool, html, and tags fields. tool is a string naming the tool that produced the response, html is a string containing the meta tags as ready-to-paste HTML for the page head, and tags is an object containing the same tags as key-value pairs.
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| tool | String | Yes | Name of the tool that produced the response. |
| html | String | Yes | The meta tags as ready-to-paste HTML for the page head. |
| tags | Object | Yes | The same tags as key-value pairs. tags may include additional properties. |


