{
  "openapi": "3.0.1",
  "info": {
    "title": "NextDayPets Scraper (Pawrade)",
    "description": "Scrape puppy listings from Pawrade, the successor of nextdaypets.com. Browse by breed, US state or city, or curated collections; get name, breed, gender, age, price, photos, description, and health details per puppy.",
    "version": "1.0",
    "x-build-id": "shsA7UVEge22Ll84b"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~nextdaypets-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-nextdaypets-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/crawlerbros~nextdaypets-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-nextdaypets-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/crawlerbros~nextdaypets-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-nextdaypets-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "byBreed",
              "byLocation",
              "byCollection",
              "byUrl"
            ],
            "type": "string",
            "description": "How to find puppies.",
            "default": "byBreed"
          },
          "breed": {
            "title": "Breed",
            "enum": [
              "",
              "american-bully",
              "aussiedoodle",
              "australian-shepherd",
              "basset-hound",
              "beagle",
              "bernese-mountain-dog",
              "bichon-frise",
              "border-collie",
              "boston-terrier",
              "boxer",
              "cavalier-king-charles-spaniel",
              "cavapoo",
              "chihuahua",
              "cockapoo",
              "cocker-spaniel",
              "dachshund-mini",
              "english-bulldog",
              "french-bulldog",
              "frenchton",
              "german-shepherd",
              "golden-retriever",
              "goldendoodle",
              "great-dane",
              "havanese",
              "italian-greyhound",
              "jack-russell-terrier",
              "labradoodle",
              "labrador-retriever",
              "maltese",
              "malti-poo-maltipoo",
              "mini-bernedoodle",
              "mini-goldendoodle",
              "miniature-australian-shepherd",
              "morkie-yorktese",
              "pomeranian",
              "pomsky",
              "poodle-miniature",
              "poodle-standard",
              "poodle-toy",
              "pug",
              "puggle",
              "schnauzer-miniature",
              "schnoodle",
              "shiba-inu",
              "shih-poo-shihpoo",
              "shih-tzu",
              "siberian-husky",
              "welsh-corgi-pembroke",
              "yorkiepoo-yorkie-poo",
              "yorkshire-terrier-yorkie"
            ],
            "type": "string",
            "description": "Breed to browse (mode=byBreed). Leave empty for all breeds.",
            "default": "golden-retriever"
          },
          "location": {
            "title": "Location",
            "enum": [
              "",
              "alabama",
              "arizona",
              "arkansas",
              "austin",
              "baltimore",
              "boston",
              "california",
              "charlotte",
              "chicago",
              "colorado",
              "columbus",
              "connecticut",
              "dallas",
              "delaware",
              "denver",
              "detroit",
              "elpaso",
              "florida",
              "georgia",
              "houston",
              "idaho",
              "illinois",
              "indiana",
              "indianapolis",
              "iowa",
              "jacksonville",
              "kansas",
              "kentucky",
              "lasvegas",
              "losangeles",
              "louisiana",
              "maine",
              "maryland",
              "massachusetts",
              "michigan",
              "minnesota",
              "mississippi",
              "missouri",
              "montana",
              "nashville",
              "nebraska",
              "nevada",
              "newhampshire",
              "newjersey",
              "newmexico",
              "newyork",
              "newyorkcity",
              "northcarolina",
              "northdakota",
              "ohio",
              "oklahoma",
              "oklahomacity",
              "oregon",
              "pennsylvania",
              "philadelphia",
              "phoenix",
              "rhodeisland",
              "sanantonio",
              "sandiego",
              "sanjose",
              "seattle",
              "sfbay",
              "southcarolina",
              "southdakota",
              "tennessee",
              "texas",
              "utah",
              "vermont",
              "virginia",
              "washington",
              "washingtondc",
              "westvirginia",
              "wisconsin",
              "wyoming"
            ],
            "type": "string",
            "description": "US state or metro area (mode=byLocation).",
            "default": ""
          },
          "collection": {
            "title": "Collection",
            "enum": [
              "",
              "best-apartment-dogs",
              "best-emotional-support-dogs",
              "best-family-dogs",
              "best-hypoallergenic-dogs",
              "best-small-dogs"
            ],
            "type": "string",
            "description": "Curated puppy collection (mode=byCollection).",
            "default": ""
          },
          "urls": {
            "title": "Puppy URLs (mode=byUrl)",
            "type": "array",
            "description": "Full pawrade.com puppy URLs, e.g. `https://www.pawrade.com/puppies/golden-retriever/3df4cd8f61/`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "gender": {
            "title": "Gender",
            "enum": [
              "",
              "male",
              "female"
            ],
            "type": "string",
            "description": "Only keep puppies of this gender.",
            "default": ""
          },
          "priceMin": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Only keep puppies priced at or above this amount."
          },
          "priceMax": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Only keep puppies priced at or below this amount."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}