---
title: SEO Toolkit API
slug: seo-toolkit-api
url: https://apyhub.com/freedailypro/service/seo-toolkit-api
provider: FreeDailyPro
tags: [seo, meta-tags, schema-markup, sitemap, robots-txt, hashtags]
auth: api_key
version: 1.0.0
service_type: sync
endpoints: 5
atoms: 10
mcp: true
---

# SEO Toolkit API

Easily generate meta tags, schema markup and sitemaps using the SEO Toolkit API. Also check keyword density and extract or generate hashtags.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/meta-tags` | What it does Generates SEO meta tags for a page from the provided body fields and returns them both… | 10 |
| POST | `https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/schema` | What it does Generates a schema.org JSON-LD object from the submitted schema type and data. The req… | 10 |
| POST | `https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/robots-sitemap` | What it does Generates robots.txt and sitemap.xml content from the provided domain and list of page… | 10 |
| POST | `https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/keyword-density` | What it does Checks the density of a keyword within submitted text and returns keyword statistics f… | 10 |
| POST | `https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/hashtags` | What it does Extracts hashtags from provided text or generates hashtags from provided keywords, bas… | 10 |

## Endpoint reference

### SEO Meta Tags Generator

`POST https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/meta-tags` · 10 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | body | string | no |  |
| `type` | body | string | no |  |
| `image` | body | string | no |  |
| `title` | body | string | yes |  |
| `siteName` | body | string | no |  |
| `description` | body | string | yes |  |
| `twitterCard` | body | string | no | One of: summary, summary_large_image. |

#### Quickstart

Generate meta tags from a page title and description.

```bash
curl -X POST "https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/meta-tags" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title":"Acme Inc. — Smarter Analytics","description":"Track your business metrics in one simple dashboard."}'
```

#### What you'll get back

Returns a JSON object with `tool` (string), `html` (string), and `tags` (object) fields. `tool` identifies the generator, `html` contains ready-to-paste meta tags, and `tags` contains the same tags as key-value pairs.

```json
{
  "tool": "meta-tags",
  "html": "<meta ...>",
  "tags": {
    "title": "Acme Inc. — Smarter Analytics"
  }
}
```

### Schema Markup (JSON-LD) Generator

`POST https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/schema` · 10 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `data` | body | object | yes |  |
| `type` | body | string | yes | One of: article, faq, organization. |

#### Quickstart

Send the required schema type and data to generate a schema.org JSON-LD object.

```bash
curl -X POST "https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/schema" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"type":"article","data":{"headline":"How to improve your site SEO","description":"A practical guide to on-page SEO best practices.","url":"https://example.com/blog/seo-guide"}}'
```

#### What you'll get back

Returns a JSON object with `tool` as a string, `result` as an object containing the schema.org JSON-LD payload, and `warnings` as an array of strings for any recommended fields that were not provided.

```json
{
  "tool": "seo-schema",
  "result": {
    "@context": "https://schema.org",
    "@type": "Article"
  },
  "warnings": []
}
```

### Robots.txt & Sitemap Generator

`POST https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/robots-sitemap` · 10 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `pages` | body | array of string | yes | Example: `["/","/about"]`. |
| `domain` | body | string (uri) | yes | Example: `https://example.com`. |

#### Quickstart

Generate `robots.txt` and `sitemap.xml` for a domain and list of pages.

```bash
curl -X POST "https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/robots-sitemap" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domain":"https://example.com","pages":["/","/about"]}'
```

#### What you'll get back

Returns a JSON object with a `tool` string and a `result` object. `result` contains `robotsTxt` and `sitemapXml` strings with the generated file contents.

```json
{
  "tool": "seo-toolkit-api",
  "result": {
    "robotsTxt": "User-agent: *\nAllow: /",
    "sitemapXml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>..."
  }
}
```

### Keyword Density Checker

`POST https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/keyword-density` · 10 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `text` | body | string | yes |  |
| `keyword` | body | string | yes |  |
| `caseSensitive` | body | boolean | no |  |

#### Quickstart

Checks the density of a keyword within a text sample.

```bash
curl -X POST "https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/keyword-density" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "ApyHub makes SEO keyword analysis simple. Keyword density helps you optimize keyword usage.",
    "keyword": "keyword"
  }'
```

#### What you'll get back

Returns a JSON object with a `tool` string and a `result` object. `result` includes `totalWords` and `keywordCount` numbers, `densityPercent` as a number, and `occurrences` as an array of word positions starting from `0`.

```json
{
  "tool": "keyword-density",
  "result": {
    "totalWords": 13,
    "keywordCount": 3,
    "densityPercent": 23.08,
    "occurrences": [4, 8, 11]
  }
}
```

### Hashtag Extractor & Generator

`POST https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/hashtags` · 10 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `max` | body | number | no |  |
| `text` | body | string | no |  |
| `action` | body | string | yes | One of: extract, generate. |
| `keywords` | body | array of string | no |  |

#### Quickstart

Generate or extract hashtags from text with a minimal JSON request.

```bash
curl -X POST "https://api.eu.apyhub.com/freedailypro/seo-toolkit-api/seo/hashtags" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"action":"generate","keywords":["seo","marketing","content"],"max":5}'
```

#### What you'll get back

Returns a JSON object with a `tool` string and a `result` array of strings. `tool` is the name of the tool that produced the response, and `result` contains the hashtags found in the text or created from the keywords.

```json
{
  "tool": "hashtags",
  "result": ["#seo", "#marketing", "#content"]
}
```

## About

## What it does
SEO Toolkit gives you a small set of endpoints for generating and checking common on-page SEO assets. Send page content, site details, or target keywords, and get back the tags, markup, or text statistics you need to wire into your product.

Use SEO Toolkit to generate meta tags from a page title and description, build schema.org JSON-LD for an article, FAQ, or organization, and create robots.txt plus sitemap.xml from a domain and a list of paths. It also includes a keyword density checker that returns total word count, keyword count, density percentage, and the positions where the keyword appears.

If you need social or content workflows, you can extract or generate hashtags from text or keywords. The meta tags endpoint returns ready-to-paste HTML plus the same tags as key-value pairs, so you can drop the output directly into a page head or preview it before publishing.

This is a good fit for CMS integrations, publishing pipelines, internal SEO tools, and automated site audits where you want structured output without hand-crafting every file or tag.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/freedailypro/service/seo-toolkit-api
