# SEO Analyzer

## /seo

This endpoint analyzes the SEO (Search Engine Optimization) aspects of a webpage specified by the provided URL. It retrieves the title, meta description, canonical URL, charset, robots meta tag, theme color, and language information. If any of the required parameters are missing, it returns a 400 error with a corresponding message. If there is an error fetching or analyzing the URL, it returns a 500 error with a message.

### Query Parameters

| Parameter | Type   | Description                        |
| --------- | ------ | ---------------------------------- |
| url       | string | The URL of the webpage to analyze. |

### Response

```json
{
  "title": {
    "content": "string",
    "length": "number"
  },
  "metaDescription": {
    "content": "string",
    "length": "number"
  },
  "canonicalURL": "string",
  "charset": "string",
  "robots": "string",
  "themeColor": "string",
  "language": "string"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ziomark.xyz/get-endpoints/seo-analyzer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
