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

# /revolve/categories/products

> List REVOLVE products in a category. Takes the category code from a category page URL and returns product cards with name, brand, price, list_price and currency, sale flag, stock flag, images, colourways and merchandising badges. Narrows by designer, size, price bracket, colour, pre-order, the style shortcuts and the attribute filters that category offers, plus sorting and the country, currency and language the prices are quoted in. Which sizes, colours and attributes a category accepts differs by what it sells — read them from the REVOLVE product filters endpoint for that category.

**Price:** 1 credit

**⚠️ Common errors:** 412: Category not found, or the code belongs to a designer listing rather than a category



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/revolve/categories/products
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/revolve/categories/products:
    post:
      tags:
        - /revolve
      summary: /revolve/categories/products
      description: >-
        List REVOLVE products in a category. Takes the category code from a
        category page URL and returns product cards with name, brand, price,
        list_price and currency, sale flag, stock flag, images, colourways and
        merchandising badges. Narrows by designer, size, price bracket, colour,
        pre-order, the style shortcuts and the attribute filters that category
        offers, plus sorting and the country, currency and language the prices
        are quoted in. Which sizes, colours and attributes a category accepts
        differs by what it sells — read them from the REVOLVE product filters
        endpoint for that category.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Category not found, or the code belongs to a
        designer listing rather than a category
      operationId: __api_revolve_categories_products_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevolveCategoriesProductsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RevolveProductCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RevolveCategoriesProductsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        country:
          $ref: '#/components/schemas/RevolveCountry'
          default: US
        currency:
          $ref: '#/components/schemas/RevolveCurrency'
          default: USD
        language:
          $ref: '#/components/schemas/RevolveLanguage'
          default: en
        count:
          type: integer
          minimum: 1
        sort:
          $ref: '#/components/schemas/RevolveSort'
          default: featured
        designer:
          items:
            type: string
          type: array
          default: []
        price:
          items:
            $ref: '#/components/schemas/RevolvePriceRange'
          type: array
          default: []
        size:
          items:
            type: string
          type: array
          default: []
        color:
          items:
            type: string
          type: array
          default: []
        facets:
          items:
            type: string
          type: array
          default: []
        style_ids:
          items:
            type: integer
          type: array
          default: []
        preorder:
          type: boolean
          default: false
        category:
          type: string
          minLength: 1
      type: object
      required:
        - count
        - category
    RevolveProductCard:
      properties:
        '@type':
          type: string
          default: RevolveProductCard
        id:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        brand:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        list_price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        is_on_sale:
          anyOf:
            - type: boolean
            - type: 'null'
        is_in_stock:
          anyOf:
            - type: boolean
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        colors:
          items:
            $ref: '#/components/schemas/RevolveCardColor'
          type: array
          default: []
        badges:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    RevolveCountry:
      type: string
      enum:
        - US
        - AD
        - AE
        - AF
        - AG
        - AI
        - AL
        - AM
        - AN
        - AO
        - AQ
        - AR
        - AT
        - AU
        - AW
        - AZ
        - BA
        - BB
        - BD
        - BE
        - BF
        - BG
        - BH
        - BI
        - BJ
        - BM
        - BN
        - BO
        - BR
        - BS
        - BT
        - BV
        - BW
        - BZ
        - CA
        - CC
        - CD
        - CF
        - CH
        - CK
        - CL
        - CM
        - CN
        - CO
        - CR
        - CV
        - CW
        - CX
        - CY
        - CZ
        - DE
        - DJ
        - DK
        - DM
        - DO
        - DZ
        - EC
        - EE
        - EG
        - EH
        - ER
        - ES
        - ET
        - FI
        - FJ
        - FK
        - FO
        - FR
        - GA
        - GB
        - GD
        - GE
        - GF
        - GH
        - GI
        - GL
        - GM
        - GN
        - GP
        - GQ
        - GR
        - GS
        - GT
        - GW
        - GY
        - HK
        - HM
        - HN
        - HR
        - HT
        - HU
        - IC
        - ID
        - IE
        - IL
        - IN
        - IO
        - IS
        - IT
        - JM
        - JO
        - JP
        - KE
        - KG
        - KH
        - KI
        - KM
        - KN
        - KR
        - KW
        - KY
        - KZ
        - LA
        - LB
        - LC
        - LI
        - LK
        - LS
        - LT
        - LU
        - LV
        - MA
        - MC
        - MD
        - ME
        - MG
        - MK
        - ML
        - MM
        - MN
        - MO
        - MQ
        - MR
        - MS
        - MT
        - MU
        - MV
        - MW
        - MX
        - MY
        - MZ
        - NA
        - NC
        - NE
        - NF
        - NG
        - NI
        - NL
        - 'NO'
        - NP
        - NR
        - NU
        - NZ
        - OM
        - PA
        - PE
        - PF
        - PG
        - PH
        - PK
        - PL
        - PM
        - PN
        - PT
        - PY
        - QA
        - RE
        - RO
        - RS
        - RW
        - SA
        - SB
        - SC
        - SE
        - SG
        - SH
        - SI
        - SJ
        - SK
        - SL
        - SM
        - SN
        - SR
        - ST
        - SV
        - SX
        - SZ
        - TC
        - TD
        - TF
        - TG
        - TH
        - TJ
        - TK
        - TL
        - TM
        - TN
        - TO
        - TR
        - TT
        - TV
        - TW
        - TZ
        - UA
        - UG
        - UY
        - UZ
        - VA
        - VC
        - VE
        - VG
        - VN
        - VU
        - WF
        - WS
        - YT
        - ZA
        - ZM
    RevolveCurrency:
      type: string
      enum:
        - USD
        - AED
        - ANG
        - ARS
        - AUD
        - BRL
        - BSD
        - CAD
        - CHF
        - CLP
        - CNY
        - COP
        - CZK
        - DKK
        - EUR
        - FJD
        - GBP
        - GTQ
        - HKD
        - HNL
        - HUF
        - IDR
        - ILS
        - INR
        - ISK
        - JMD
        - JPY
        - KRW
        - KWD
        - KZT
        - LBP
        - LKR
        - MAD
        - MXN
        - MYR
        - NOK
        - NZD
        - PAB
        - PEN
        - PHP
        - PKR
        - PLN
        - RON
        - RSD
        - SAR
        - SEK
        - SGD
        - THB
        - TND
        - TRY
        - TTD
        - TWD
        - UAH
        - VND
        - XAF
        - XCD
        - ZAR
    RevolveLanguage:
      type: string
      enum:
        - en
        - de
        - es
        - fr
        - it
        - pt
        - ru
        - ar
        - ja
        - ko
        - zh
        - ch
    RevolveSort:
      type: string
      enum:
        - featured
        - newest
        - popularity
        - priced
        - price
        - designer
        - newcatPart1
    RevolvePriceRange:
      type: string
      enum:
        - UNDER_TEN
        - TEN_TO_TWENTY
        - UNDER_TWENTY
        - TWENTY_TO_FORTY
        - FORTY_TO_SIXTY
        - SIXTY_TO_EIGHTY
        - EIGHTY_TO_ONE
        - ONE_TO_TWO
        - TWO_TO_THREE
        - THREE_TO_FOUR
        - FOUR_TO_FIVE
        - FIVE_TO_SIX
        - SIX_TO_1000
        - OVER_1000
    RevolveCardColor:
      properties:
        '@type':
          type: string
          default: RevolveCardColor
        code:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - code
    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

````