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

# Classify URLs

> Classify up to 1000 URLs per request. In-index URLs return classifications inline (Lookup lane, billed per 1K lookups). The rest are enqueued under a single job for live classification (Live Classify lane). Requires bearer auth.



## OpenAPI

````yaml https://api.classify.ai/openapi.json post /v1/classify
openapi: 3.1.0
info:
  title: Classify API
  description: >-
    URL-level classification against the ContentGraph index. Priced per URL,
    never per token. URLs already in ContentGraph return classifications inline
    in under 50ms (Lookup). URLs not in the index return status `unknown` with a
    `job_id`; workers fetch, embed, and classify within seconds (Live Classify).
    Poll the job for results. Every live result joins the index.
  version: '1.0'
servers:
  - url: https://api.classify.ai
security: []
paths:
  /v1/classify:
    post:
      tags:
        - Classification
      summary: Classify URLs
      description: >-
        Classify up to 1000 URLs per request. In-index URLs return
        classifications inline (Lookup lane, billed per 1K lookups). The rest
        are enqueued under a single job for live classification (Live Classify
        lane). Requires bearer auth.
      operationId: classify_v1_classify_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClassifyReq'
        required: true
      responses:
        '200':
          description: Per-URL results; job_id present when any URL was enqueued
          content:
            application/json:
              schema: {}
              example:
                results:
                  - url: https://en.wikipedia.org/wiki/Electric_vehicle
                    status: unknown
                count: 1
                latency_ms: 13
                job_id: 5fd017d8-7ff0-46a8-8885-e04d3e799ca1
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ClassifyReq:
      properties:
        urls:
          items:
            type: string
          type: array
          title: Urls
      type: object
      required:
        - urls
      title: ClassifyReq
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      description: Classify API key (ck_...)

````