> ## Documentation Index
> Fetch the complete documentation index at: https://docs.socq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Related Keywords

> Find semantically and lexically related search terms.

# Related Keywords

```json theme={"system"}
{"query":"keyword research","depth":1,"results_limit":100}
```

Each item is one related keyword record. `depth` accepts 0–4; larger depth expands the relationship graph and may return substantially more candidates.


## OpenAPI

````yaml api-manual/agent-api/agent-api.json POST /v1/seo/related-keywords
openapi: 3.1.0
info:
  title: SocQ Agent API
  version: v1-c8347f9103e7
  description: Asynchronous social data API generated from the SocQ Capability Registry.
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/seo/related-keywords:
    post:
      tags:
        - seo
      summary: Related Keywords API
      description: Find semantically and lexically related keywords.
      operationId: socq_seo_related_keywords
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              additionalProperties: false
              properties:
                callback_url:
                  type: string
                  format: uri
                depth:
                  type: integer
                  minimum: 0
                  maximum: 4
                language:
                  type: string
                  minLength: 1
                language_code:
                  type: string
                  minLength: 2
                  maxLength: 10
                location_code:
                  type: integer
                  minimum: 1
                  description: Search market location code.
                location_name:
                  type: string
                  minLength: 1
                  description: Search market location name.
                offset:
                  type: integer
                  minimum: 0
                query:
                  type: string
                  minLength: 1
                  description: Search query.
                results_limit:
                  type: integer
                  minimum: 1
                  maximum: 1000
                  default: 100
              required:
                - query
      responses:
        '200':
          description: Task accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSubmitResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    AgentSubmitResponse:
      type: object
      properties:
        code:
          type: integer
          const: 200
        data:
          type: object
          properties:
            task_id:
              type: string
            status:
              type: string
            created_time:
              type:
                - string
                - 'null'
            idempotent_replay:
              type: boolean
          required:
            - task_id
            - status
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````