> ## 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.

# Search Intent

> Classify informational, navigational, commercial, and transactional intent.

# Search Intent

```json theme={null}
{"keywords":["how to research keywords","buy seo software"],"language_code":"en"}
```

Use the language codes declared for this endpoint. Locale support differs from Keyword Search Volume and live SERP.

Each result contains the primary intent and available intent probabilities for one input keyword.

## Result Fields

Task results use the stable SocQ fields below. Source-specific field names and formats are normalized without inferring or enriching values that the source did not provide. To request a smaller field set, use `fields` for MCP queries, `_result_fields` for typed tools, or `--result-fields` in the CLI. Declared fields remain present when their value is `null`.

| Field | Type | Nullable | Description |
| - | - | - | - |
| `id` | `string` | Yes | Unique identifier for this result item. |
| `platform` | `string` | No | Platform the result belongs to, such as `instagram` or `linkedin`. |
| `resource` | `string` | No | SocQ resource represented by the result, such as `videos` or `comments`. |
| `type` | `string` | No | Category of the result item, such as `video`, `post`, or `comment`. |
| `url` | `string` | Yes | Public URL of the result item when available. |
| `published_at` | `string` | Yes | Time the source item was published, in ISO 8601 format when available. |
| `collected_at` | `string` | No | Time SocQ collected or processed this result, in ISO 8601 format. |
| `keyword` | `string` | Yes | Keyword represented by the result. |
| `search_volume` | `integer` | Yes | Estimated number of searches for the keyword in the configured period and market. |
| `difficulty` | `number` | Yes | Estimated ranking difficulty score for the keyword. |
| `intent` | `string` | Yes | Detected primary search intent for the keyword. |
| `cpc` | `number` | Yes | Estimated cost per click for the keyword. |
| `competition` | `number` | Yes | Advertiser competition level for the keyword. |
| `rank` | `integer` | Yes | Ranking position of the target page for the keyword. |
| `target_url` | `string` | Yes | Page URL associated with the keyword ranking. |

## Completed Task Response

```json theme={null}
{
  "code": 200,
  "data": {
    "task_id": "UITV6Z3LRYBJ5W10",
    "status": "succeeded",
    "public_id": "seo/search-intent",
    "result_count": 1,
    "credits_amount": 0.1,
    "results": {
      "limit": 1,
      "next_cursor": null,
      "has_more": false,
      "schema_id": "seo-keyword",
      "schema_version": "1.0",
      "items": [
        {
          "id": "keyword research",
          "platform": "seo",
          "resource": "search-intent",
          "type": "search-intent",
          "url": null,
          "published_at": null,
          "collected_at": "2026-07-31T02:25:38.089612Z",
          "keyword": "keyword research",
          "search_volume": null,
          "difficulty": null,
          "intent": null,
          "cpc": null,
          "competition": null,
          "rank": null,
          "target_url": null
        }
      ]
    }
  }
}
```


## OpenAPI

````yaml api-manual/agent-api/agent-api.json POST /v1/seo/search-intent
openapi: 3.1.0
info:
  title: SocQ Agent API
  version: v1-49b371f0f690
  description: Asynchronous social data API generated from the SocQ Capability Registry.
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/seo/search-intent:
    post:
      tags:
        - seo
      summary: Search Intent API
      description: Classify the intent of each input keyword.
      operationId: socq_seo_search_intent
      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
                keywords:
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 80
                  minItems: 1
                  maxItems: 1000
                  description: Keywords to analyze in one batch.
                language:
                  type: string
                  minLength: 1
                  enum:
                    - Albanian
                    - Arabic
                    - Armenian
                    - Azeri
                    - Bengali
                    - Bosnian
                    - Bulgarian
                    - Chinese (Simplified)
                    - Chinese (Traditional)
                    - Croatian
                    - Czech
                    - Danish
                    - Dutch
                    - English
                    - Estonian
                    - Finnish
                    - French
                    - German
                    - Greek
                    - Hebrew
                    - Hindi
                    - Hungarian
                    - Indonesian
                    - Italian
                    - Japanese
                    - Korean
                    - Latvian
                    - Lithuanian
                    - Macedonian
                    - Malay
                    - Norwegian (Bokmål)
                    - Polish
                    - Portuguese
                    - Romanian
                    - Russian
                    - Serbian
                    - Slovak
                    - Slovenian
                    - Spanish
                    - Swedish
                    - Tagalog
                    - Thai
                    - Turkish
                    - Ukrainian
                    - Urdu
                    - Vietnamese
                  description: Language name must be supported for the selected country.
                language_code:
                  type: string
                  minLength: 2
                  maxLength: 10
                  enum:
                    - ar
                    - az
                    - bg
                    - bn
                    - bs
                    - cs
                    - da
                    - de
                    - el
                    - en
                    - es
                    - et
                    - fi
                    - fr
                    - he
                    - hi
                    - hr
                    - hu
                    - hy
                    - id
                    - it
                    - ja
                    - ko
                    - lt
                    - lv
                    - mk
                    - ms
                    - nb
                    - nl
                    - pl
                    - pt
                    - ro
                    - ru
                    - sk
                    - sl
                    - sq
                    - sr
                    - sv
                    - th
                    - tl
                    - tr
                    - uk
                    - ur
                    - vi
                    - zh-CN
                    - zh-TW
                  default: en
                  description: >-
                    Language code must be supported for the selected country. A
                    globally supported language can still be unavailable in a
                    particular country.
                location_code:
                  type: integer
                  minimum: 1
                  description: Search market location code.
                location_name:
                  type: string
                  minLength: 1
                  description: Search market location name.
                results_limit:
                  type: integer
                  minimum: 1
                  maximum: 2000
              required:
                - keywords
              description: >-
                Use the language codes declared for this endpoint. Locale
                support differs from Keyword Search Volume and live SERP.
      responses:
        '200':
          description: Task accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSubmitResponse'
        '422':
          description: Input validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentValidationErrorResponse'
      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'
          required:
            - task_id
            - status
    AgentValidationErrorResponse:
      type: object
      properties:
        code:
          type: integer
          const: 422
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            details:
              type: object
          required:
            - message
            - type
      required:
        - code
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.