Piloterr Petsmart API

The Petsmart API from Piloterr — 2 operation(s) for petsmart.

GitHub OpenAPI

Operations 4

GET /v2/petsmart/product PetSmart Product #
POST /v2/petsmart/product PetSmart Product #
POST /v2/petsmart/search PetSmart Search #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/piloterr-com:piloterr-com-petsmart-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

piloterr-com-petsmart-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Piloterr API Reference Petsmart API
  description: Complete API reference documentation.
  version: 1.0.0
servers:
- url: https://api.piloterr.com
  description: API Server
tags:
- name: Petsmart
paths:
  /v2/petsmart/product:
    get:
      summary: PetSmart Product
      description: 'Read one PetSmart product URL, including the selected size, dollar price, flavor, and item number.


        **Credit cost:** 1 credit per call'
      operationId: get-petsmart-product
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: 'A PetSmart product link.


          Example:


          ```

          https://www.petsmart.com/dog/food/dry-food/purina-pro-plan-sensitive-skin-and-stomach-dry-dog-food-adult-salmon-and-rice-formula-digestive-health-36648.html

          ```


          A search link returns 400.'
        schema:
          type: string
          description: 'A PetSmart product link.


            Example:


            ```

            https://www.petsmart.com/dog/food/dry-food/purina-pro-plan-sensitive-skin-and-stomach-dry-dog-food-adult-salmon-and-rice-formula-digestive-health-36648.html

            ```


            A search link returns 400.'
      - name: return_page_source
        in: query
        required: false
        description: Set to true to get the raw HTML in result instead of the parsed JSON.
        schema:
          type: boolean
          description: Set to true to get the raw HTML in result instead of the parsed JSON.
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  url:
                    type: string
                  gtin:
                    type: string
                  size:
                    type: string
                  brand:
                    type: string
                  image:
                    type: string
                  price:
                    type: number
                  sizes:
                    type: array
                    items:
                      type: object
                      properties:
                        label:
                          type: string
                        selected:
                          type: boolean
                  title:
                    type: string
                  flavor:
                    type: string
                  rating:
                    type: number
                  currency:
                    type: string
                  in_stock:
                    type: boolean
                  variants:
                    type: array
                    items:
                      type: object
                      properties:
                        sku:
                          type: string
                        gtin:
                          type: string
                        price:
                          type: number
                        in_stock:
                          type: boolean
                        selected:
                          type: boolean
                        price_display:
                          type: string
                  description:
                    type: string
                  rating_count:
                    type: integer
                  price_display:
                    type: string
                  master_product_id:
                    type: string
              examples:
                Purina Pro Plan 30 lb salmon and rice:
                  value:
                    id: '5252900'
                    url: https://www.petsmart.com/dog/food/dry-food/purina-pro-plan-sensitive-skin-and-stomach-dry-dog-food-adult-salmon-and-rice-formula-digestive-health-36648.html
                    gtin: 0038100175526
                    size: 30 Lb
                    brand: Purina Pro Plan
                    image: https://s7d2.scene7.com/is/image/PetSmart/5252900?fmt=webp&wid=400&hei=400
                    price: 77.99
                    sizes:
                    - label: 4 Lb
                      selected: false
                    - label: 16 Lb
                      selected: false
                    - label: 30 Lb
                      selected: true
                    - label: 40 Lb
                      selected: false
                    title: Purina Pro Plan Sensitive Skin and Stomach Dry Dog Food Adult Salmon & Rice Formula Digestive Health
                    flavor: Salmon & Rice
                    rating: 4.5
                    currency: USD
                    in_stock: true
                    variants:
                    - sku: '5252899'
                      gtin: 0038100175458
                      price: 54.99
                      in_stock: true
                      selected: false
                      price_display: $54.99
                    - sku: '5252900'
                      gtin: 0038100175526
                      price: 77.99
                      in_stock: true
                      selected: true
                      price_display: $77.99
                    - sku: '5339374'
                      gtin: 0038100100757
                      price: 20.68
                      in_stock: true
                      selected: false
                      price_display: $20.68
                    - sku: '5339575'
                      gtin: 0038100100771
                      price: 94.99
                      in_stock: true
                      selected: false
                      price_display: $94.99
                    description: Nurture your dog's sensitive skin and stomach with Purina Pro Plan Brand Dog Food Sensitive Skin and Stomach Salmon and Rice Formula adult dry dog food. Nutrient-rich salmon is the first ingredient.
                    rating_count: 9221
                    price_display: $77.99
                    master_product_id: '36648'
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Petsmart
    post:
      summary: PetSmart Product
      description: 'Read one PetSmart product URL, including the selected size, dollar price, flavor, and item number.


        **Credit cost:** 1 credit per call'
      operationId: post-petsmart-product
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: 'A PetSmart product link.


                    Example:


                    ```

                    https://www.petsmart.com/dog/food/dry-food/purina-pro-plan-sensitive-skin-and-stomach-dry-dog-food-adult-salmon-and-rice-formula-digestive-health-36648.html

                    ```


                    A search link returns 400.'
                return_page_source:
                  type: boolean
                  description: Set to true to get the raw HTML in result instead of the parsed JSON.
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  url:
                    type: string
                  gtin:
                    type: string
                  size:
                    type: string
                  brand:
                    type: string
                  image:
                    type: string
                  price:
                    type: number
                  sizes:
                    type: array
                    items:
                      type: object
                      properties:
                        label:
                          type: string
                        selected:
                          type: boolean
                  title:
                    type: string
                  flavor:
                    type: string
                  rating:
                    type: number
                  currency:
                    type: string
                  in_stock:
                    type: boolean
                  variants:
                    type: array
                    items:
                      type: object
                      properties:
                        sku:
                          type: string
                        gtin:
                          type: string
                        price:
                          type: number
                        in_stock:
                          type: boolean
                        selected:
                          type: boolean
                        price_display:
                          type: string
                  description:
                    type: string
                  rating_count:
                    type: integer
                  price_display:
                    type: string
                  master_product_id:
                    type: string
              examples:
                Purina Pro Plan 30 lb salmon and rice:
                  value:
                    id: '5252900'
                    url: https://www.petsmart.com/dog/food/dry-food/purina-pro-plan-sensitive-skin-and-stomach-dry-dog-food-adult-salmon-and-rice-formula-digestive-health-36648.html
                    gtin: 0038100175526
                    size: 30 Lb
                    brand: Purina Pro Plan
                    image: https://s7d2.scene7.com/is/image/PetSmart/5252900?fmt=webp&wid=400&hei=400
                    price: 77.99
                    sizes:
                    - label: 4 Lb
                      selected: false
                    - label: 16 Lb
                      selected: false
                    - label: 30 Lb
                      selected: true
                    - label: 40 Lb
                      selected: false
                    title: Purina Pro Plan Sensitive Skin and Stomach Dry Dog Food Adult Salmon & Rice Formula Digestive Health
                    flavor: Salmon & Rice
                    rating: 4.5
                    currency: USD
                    in_stock: true
                    variants:
                    - sku: '5252899'
                      gtin: 0038100175458
                      price: 54.99
                      in_stock: true
                      selected: false
                      price_display: $54.99
                    - sku: '5252900'
                      gtin: 0038100175526
                      price: 77.99
                      in_stock: true
                      selected: true
                      price_display: $77.99
                    - sku: '5339374'
                      gtin: 0038100100757
                      price: 20.68
                      in_stock: true
                      selected: false
                      price_display: $20.68
                    - sku: '5339575'
                      gtin: 0038100100771
                      price: 94.99
                      in_stock: true
                      selected: false
                      price_display: $94.99
                    description: Nurture your dog's sensitive skin and stomach with Purina Pro Plan Brand Dog Food Sensitive Skin and Stomach Salmon and Rice Formula adult dry dog food. Nutrient-rich salmon is the first ingredient.
                    rating_count: 9221
                    price_display: $77.99
                    master_product_id: '36648'
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Petsmart
  /v2/petsmart/search:
    get:
      summary: PetSmart Search
      description: 'Search PetSmart by keyword or search URL. Page through pet food, litter, and supplies with dollar prices.


        **Credit cost:** 1 credit per call'
      operationId: get-petsmart-search
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: 'What to look for. A word, or a PetSmart search link.


          Examples:


          ```

          dog food

          ```


          ```

          https://www.petsmart.com/search/?q=dog+food

          ```


          A product link returns 400.'
        schema:
          type: string
          description: 'What to look for. A word, or a PetSmart search link.


            Examples:


            ```

            dog food

            ```


            ```

            https://www.petsmart.com/search/?q=dog+food

            ```


            A product link returns 400.'
      - name: page
        in: query
        required: false
        description: Which page of results, starting at 1. Page 2 returns a different set of products.
        schema:
          type: number
          minimum: 1
          description: Which page of results, starting at 1. Page 2 returns a different set of products.
      - name: return_page_source
        in: query
        required: false
        description: Set to true to get the raw HTML in result instead of the parsed JSON.
        schema:
          type: boolean
          description: Set to true to get the raw HTML in result instead of the parsed JSON.
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        url:
                          type: string
                        brand:
                          type: string
                        image:
                          type: string
                        price:
                          type: number
                        title:
                          type: string
                        rating:
                          type: number
                        currency:
                          type: string
                        in_stock:
                          type: boolean
                        price_max:
                          nullable: true
                        price_label:
                          type: string
                        rating_count:
                          type: integer
                        price_display:
                          type: string
                        variant_count:
                          type: integer
                        original_price:
                          type: number
                        master_product_id:
                          type: string
                        price_max_display:
                          nullable: true
                        original_price_display:
                          type: string
                  pagination:
                    type: object
                    properties:
                      next:
                        type: string
                      page:
                        type: integer
                      per_page:
                        type: integer
                      total_pages:
                        type: integer
                      total_results:
                        type: integer
              examples:
                Purina Pro Plan card on dog food:
                  value:
                    results:
                    - id: '5252900'
                      url: https://www.petsmart.com/dog/food/dry-food/purina-pro-plan-sensitive-skin-and-stomach-dry-dog-food-adult-salmon-and-rice-formula-digestive-health-36648.html
                      brand: Purina Pro Plan
                      image: https://s7d2.scene7.com/is/image/PetSmart/5252900?$sclp-prd-main_large$&fmt=webp&qlt=80
                      price: 20.68
                      title: Purina Pro Plan Sensitive Skin and Stomach Dry Dog Food Adult Salmon & Rice Formula Digestive Health
                      rating: 4.5
                      currency: USD
                      in_stock: true
                      price_max: null
                      price_label: Options from
                      rating_count: 9221
                      price_display: $20.68
                      variant_count: 4
                      original_price: 21.99
                      master_product_id: '36648'
                      price_max_display: null
                      original_price_display: $21.99
                    pagination:
                      next: https://www.petsmart.com/search/?q=dog+food&page=2
                      page: 1
                      per_page: 40
                      total_pages: 83
                      total_results: 3317
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Petsmart
    post:
      summary: PetSmart Search
      description: 'Search PetSmart by keyword or search URL. Page through pet food, litter, and supplies with dollar prices.


        **Credit cost:** 1 credit per call'
      operationId: post-petsmart-search
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: 'What to look for. A word, or a PetSmart search link.


                    Examples:


                    ```

                    dog food

                    ```


                    ```

                    https://www.petsmart.com/search/?q=dog+food

                    ```


                    A product link returns 400.'
                page:
                  type: number
                  minimum: 1
                  description: Which page of results, starting at 1. Page 2 returns a different set of products.
                return_page_source:
                  type: boolean
                  description: Set to true to get the raw HTML in result instead of the parsed JSON.
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        url:
                          type: string
                        brand:
                          type: string
                        image:
                          type: string
                        price:
                          type: number
                        title:
                          type: string
                        rating:
                          type: number
                        currency:
                          type: string
                        in_stock:
                          type: boolean
                        price_max:
                          nullable: true
                        price_label:
                          type: string
                        rating_count:
                          type: integer
                        price_display:
                          type: string
                        variant_count:
                          type: integer
                        original_price:
                          type: number
                        master_product_id:
                          type: string
                        price_max_display:
                          nullable: true
                        original_price_display:
                          type: string
                  pagination:
                    type: object
                    properties:
                      next:
                        type: string
                      page:
                        type: integer
                      per_page:
                        type: integer
                      total_pages:
                        type: integer
                      total_results:
                        type: integer
              examples:
                Purina Pro Plan card on dog food:
                  value:
                    results:
                    - id: '5252900'
                      url: https://www.petsmart.com/dog/food/dry-food/purina-pro-plan-sensitive-skin-and-stomach-dry-dog-food-adult-salmon-and-rice-formula-digestive-health-36648.html
                      brand: Purina Pro Plan
                      image: https://s7d2.scene7.com/is/image/PetSmart/5252900?$sclp-prd-main_large$&fmt=webp&qlt=80
                      price: 20.68
                      title: Purina Pro Plan Sensitive Skin and Stomach Dry Dog Food Adult Salmon & Rice Formula Digestive Health
                      rating: 4.5
                      currency: USD
                      in_stock: true
                      price_max: null
                      price_label: Options from
                      rating_count: 9221
                      price_display: $20.68
                      variant_count: 4
                      original_price: 21.99
                      master_product_id: '36648'
                      price_max_display: null
                      original_price_display: $21.99
                    pagination:
                      next: https://www.petsmart.com/search/?q=dog+food&page=2
                      page: 1
                      per_page: 40
                      total_pages: 83
                      total_results: 3317
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Petsmart
components:
  parameters:
    fields:
      name: fields
      in: query
      required: false
      description: Comma-separated list of response fields to return, with dot notation for nested fields (e.g. `name,location.city`).
      schema:
        type: string
    is_async:
      name: is_async
      in: query
      required: false
      description: 'Run the request as a background job: the API answers `202` with a `job_id` to poll on `GET /v1/jobs/{id}`.'
      schema:
        type: boolean
        default: false
    soft_fail:
      name: soft_fail
      in: query
      required: false
      description: Return HTTP 200 even when the request fails; the error is in the `error` field of the body.
      schema:
        type: boolean
        default: false
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable error message.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your API key. Include it in the x-api-key header for every request.