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

# /olx/offers

> Get a single OLX offer by id or URL: title, description, price and currency, category, seller, location with coordinates, photos and all category-specific attributes.

**Price:** 1 credit

**⚠️ Common errors:** 412: Offer not found (removed or never existed on this OLX domain)



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/olx/offers
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/olx/offers:
    post:
      tags:
        - /olx
      summary: /olx/offers
      description: >-
        Get a single OLX offer by id or URL: title, description, price and
        currency, category, seller, location with coordinates, photos and all
        category-specific attributes.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Offer not found (removed or never existed on
        this OLX domain)
      operationId: __api_olx_offers_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OlxOffersPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OlxOffer'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OlxOffersPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        domain:
          $ref: '#/components/schemas/OlxDomain'
          default: olx.pl
        offer:
          type: string
      type: object
      required:
        - offer
    OlxOffer:
      properties:
        '@type':
          type: string
          default: OlxOffer
        id:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        offer_title:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        offer_type:
          anyOf:
            - type: string
            - type: 'null'
        is_business:
          anyOf:
            - type: boolean
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        previous_price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        price_label:
          anyOf:
            - type: string
            - type: 'null'
        is_negotiable:
          anyOf:
            - type: boolean
            - type: 'null'
        is_price_arranged:
          anyOf:
            - type: boolean
            - type: 'null'
        salary_from:
          anyOf:
            - type: number
            - type: 'null'
        salary_to:
          anyOf:
            - type: number
            - type: 'null'
        salary_currency:
          anyOf:
            - type: string
            - type: 'null'
        salary_period:
          anyOf:
            - type: string
            - type: 'null'
        is_salary_gross:
          anyOf:
            - type: boolean
            - type: 'null'
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
        refreshed_at:
          anyOf:
            - type: integer
            - type: 'null'
        pushed_at:
          anyOf:
            - type: integer
            - type: 'null'
        omnibus_pushed_at:
          anyOf:
            - type: integer
            - type: 'null'
        expires_at:
          anyOf:
            - type: integer
            - type: 'null'
        category_id:
          anyOf:
            - type: string
            - type: 'null'
        category_type:
          anyOf:
            - type: string
            - type: 'null'
        location:
          anyOf:
            - $ref: '#/components/schemas/OlxOfferLocation'
            - type: 'null'
        seller:
          anyOf:
            - $ref: '#/components/schemas/OlxOfferSeller'
            - type: 'null'
        contact_name:
          anyOf:
            - type: string
            - type: 'null'
        attributes:
          items:
            $ref: '#/components/schemas/OlxOfferAttribute'
          type: array
          default: []
        key_attributes:
          items:
            type: string
          type: array
          default: []
        images:
          items:
            type: string
          type: array
          default: []
        is_highlighted:
          anyOf:
            - type: boolean
            - type: 'null'
        is_top_ad:
          anyOf:
            - type: boolean
            - type: 'null'
        is_promoted:
          anyOf:
            - type: boolean
            - type: 'null'
        is_b2c_ad:
          anyOf:
            - type: boolean
            - type: 'null'
        promotion_options:
          items:
            type: string
          type: array
          default: []
        has_phone:
          anyOf:
            - type: boolean
            - type: 'null'
        has_chat:
          anyOf:
            - type: boolean
            - type: 'null'
        has_negotiation:
          anyOf:
            - type: boolean
            - type: 'null'
        has_delivery:
          anyOf:
            - type: boolean
            - type: 'null'
        delivery_mode:
          anyOf:
            - type: string
            - type: 'null'
        has_gpsr_info:
          anyOf:
            - type: boolean
            - type: 'null'
        is_phone_protected:
          anyOf:
            - type: boolean
            - type: 'null'
        external_url:
          anyOf:
            - type: string
            - type: 'null'
        partner_code:
          anyOf:
            - type: string
            - type: 'null'
        shop_alias:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    OlxDomain:
      type: string
      enum:
        - olx.pl
        - olx.ua
        - olx.ro
        - olx.bg
        - olx.pt
        - olx.kz
        - olx.uz
    OlxOfferLocation:
      properties:
        '@type':
          type: string
          default: OlxOfferLocation
        city_id:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        city_alias:
          anyOf:
            - type: string
            - type: 'null'
        district_id:
          anyOf:
            - type: string
            - type: 'null'
        district:
          anyOf:
            - type: string
            - type: 'null'
        region_id:
          anyOf:
            - type: string
            - type: 'null'
        region:
          anyOf:
            - type: string
            - type: 'null'
        region_alias:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        radius:
          anyOf:
            - type: number
            - type: 'null'
        zoom:
          anyOf:
            - type: integer
            - type: 'null'
        is_detailed:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    OlxOfferSeller:
      properties:
        '@type':
          type: string
          default: OlxOfferSeller
        id:
          anyOf:
            - type: string
            - type: 'null'
        uuid:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        company_name:
          anyOf:
            - type: string
            - type: 'null'
        about:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        has_business_page:
          anyOf:
            - type: boolean
            - type: 'null'
        is_online:
          anyOf:
            - type: boolean
            - type: 'null'
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
        last_seen_at:
          anyOf:
            - type: integer
            - type: 'null'
        social_network_account_type:
          anyOf:
            - type: string
            - type: 'null'
        has_other_offers:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    OlxOfferAttribute:
      properties:
        '@type':
          type: string
          default: OlxOfferAttribute
        key:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        values:
          items:
            type: string
          type: array
          default: []
        label:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - key
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````