---
title: "Generate complete <meta>, OpenGraph, Twitter Card and JSON-LD"
method: POST
path: "/meta-tags-generate.php"
tags: ["data"]
---

# Generate complete <meta>, OpenGraph, Twitter Card and JSON-LD

`POST /meta-tags-generate.php`

## Request

- Base URL: `https://mate.tools/api/v1`
- URL: `https://mate.tools/api/v1/meta-tags-generate.php`
- Auth: none declared

Takes a title (required) and optional description, url, image, site_name, type, locale, author, keywords, twitter_handle, canonical, language, robots, theme_color, favicon - returns a ready-to-paste HTML <meta> block, JSON-LD structured-data stub, and SEO scoring with warnings (title length, description length, missing fields, etc.).

## Request body

- object
  - `title` string, required
  - `description` string
  - `url` string
  - `image` string
  - `site_name` string
  - `type` string
  - `locale` string
  - `author` string
  - `keywords` string[]
  - `twitter_handle` string
  - `twitter_card` string
  - `canonical` string
  - `language` string
  - `robots` string
  - `theme_color` string
  - `favicon` string

## Response `200`

Success

## Other responses

- `400`: Malformed request
- `429`: Rate limit exceeded (60/min, 600/hour per IP). Includes Retry-After header.

---

[API](https://skmtc.dev/mate/apis/mate-tools-api.md) · [All operations](https://skmtc.dev/mate/apis/mate-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mate/apis/mate-tools-api/revisions/874670b78962?raw)
