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

# /goonet/dealers/listings

> List all used-car listings in a Goo-net dealer's inventory by shop id. Returns listing cards with id, url, brand, model, grade, prices, year, mileage, inspection, condition rating and image.

**Price:** 20 credits per 20 results

**💡 AI Hint:** List a Goo-net dealer's inventory by shop id (e.g. '1002180') or full dealer URL. Each result has id, url, brand, model, grade, price, total_price, monthly_payment, year, mileage, inspection, displacement, color, transmission, body_type, condition ratings and image.

**⚠️ Common errors:** 412: Dealer not found (the shop id does not exist or the dealer page was removed)



## OpenAPI

````yaml /openapi-filtered.json post /api/goonet/dealers/listings
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/goonet/dealers/listings:
    post:
      tags:
        - /goonet
      summary: /goonet/dealers/listings
      description: >-
        List all used-car listings in a Goo-net dealer's inventory by shop id.
        Returns listing cards with id, url, brand, model, grade, prices, year,
        mileage, inspection, condition rating and image.


        **Price:** 20 credits per 20 results


        **💡 AI Hint:** List a Goo-net dealer's inventory by shop id (e.g.
        '1002180') or full dealer URL. Each result has id, url, brand, model,
        grade, price, total_price, monthly_payment, year, mileage, inspection,
        displacement, color, transmission, body_type, condition ratings and
        image.


        **⚠️ Common errors:** 412: Dealer not found (the shop id does not exist
        or the dealer page was removed)
      operationId: __api_goonet_dealers_listings_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoonetDealerListingsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GoonetListingCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GoonetDealerListingsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        dealer:
          type: string
          minLength: 1
          description: Dealer shop id, or a full Goo-net dealer URL
          examples:
            - '1002180'
        count:
          type: integer
          minimum: 1
          description: Max number of results to return
      type: object
      required:
        - dealer
        - count
    GoonetListingCard:
      properties:
        '@type':
          type: string
          default: GoonetListingCard
        id:
          type: string
        url:
          type: string
        brand:
          anyOf:
            - type: string
            - type: 'null'
        model:
          anyOf:
            - type: string
            - type: 'null'
        grade:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        total_price:
          anyOf:
            - type: number
            - type: 'null'
        monthly_payment:
          anyOf:
            - type: number
            - type: 'null'
        year:
          anyOf:
            - type: integer
            - type: 'null'
        mileage:
          anyOf:
            - type: integer
            - type: 'null'
        inspection:
          anyOf:
            - type: string
            - type: 'null'
        displacement:
          anyOf:
            - type: integer
            - type: 'null'
        has_repair_history:
          anyOf:
            - type: boolean
            - type: 'null'
        color:
          anyOf:
            - type: string
            - type: 'null'
        transmission:
          anyOf:
            - type: string
            - type: 'null'
        body_type:
          anyOf:
            - type: string
            - type: 'null'
        interior_rating:
          anyOf:
            - type: integer
            - type: 'null'
        exterior_rating:
          anyOf:
            - type: integer
            - type: 'null'
        dealer:
          anyOf:
            - $ref: '#/components/schemas/GoonetCardDealer'
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    GoonetCardDealer:
      properties:
        '@type':
          type: string
          default: GoonetCardDealer
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    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

````