{
  "openapi": "3.0.1",
  "info": {
    "title": "AbeBooks Scraper [From $1.5💰] | Book Prices | Arbitrage",
    "description": "Extract AbeBooks listings with prices, condition, shipping and seller data for book price comparison, arbitrage sourcing and textbook price monitoring. Structured rows ready for reseller workflows, CSV export and recurring runs.",
    "version": "0.0",
    "x-build-id": "8v1N9UvHDgr2yXxZz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ahmed_jasarevic~abebooks-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ahmed_jasarevic-abebooks-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/ahmed_jasarevic~abebooks-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ahmed_jasarevic-abebooks-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/ahmed_jasarevic~abebooks-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ahmed_jasarevic-abebooks-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": [
          "searches"
        ],
        "properties": {
          "searches": {
            "title": "Search Queries",
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "description": "Add one row per search query in the form below. Each query can combine multiple filters (keyword, author, title, ISBN, etc.).",
            "items": {
              "type": "object",
              "properties": {
                "keyword": {
                  "title": "Keyword",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Free-text keyword search (AbeBooks 'kn' param). E.g., 'harry potter', 'textbook biology', 'first edition'."
                },
                "author": {
                  "title": "Author",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Author name filter (AbeBooks 'an' param)."
                },
                "title": {
                  "title": "Title",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Book title filter (AbeBooks 'bn' param)."
                },
                "isbn": {
                  "title": "ISBN",
                  "type": "string",
                  "editor": "textfield",
                  "description": "ISBN-10 or ISBN-13 (AbeBooks 'isbn' param). Hyphens are ignored."
                },
                "publisher": {
                  "title": "Publisher",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Publisher name filter (AbeBooks 'ap' param)."
                },
                "condition": {
                  "title": "Condition",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Condition filter (AbeBooks 'tn' param). E.g., 'New', 'Used', 'Like New', 'Very Good', 'Good', 'Acceptable'."
                },
                "minPrice": {
                  "title": "Min Price",
                  "type": "number",
                  "editor": "number",
                  "description": "Minimum price in selected currency (AbeBooks 'prl' param)."
                },
                "maxPrice": {
                  "title": "Max Price",
                  "type": "number",
                  "editor": "number",
                  "description": "Maximum price in selected currency (AbeBooks 'prh' param)."
                },
                "minYear": {
                  "title": "Min Publication Year",
                  "type": "integer",
                  "editor": "number",
                  "description": "Earliest publication year (AbeBooks 'yrl' param)."
                },
                "maxYear": {
                  "title": "Max Publication Year",
                  "type": "integer",
                  "editor": "number",
                  "description": "Latest publication year (AbeBooks 'yrh' param)."
                },
                "language": {
                  "title": "Language",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Language filter (AbeBooks 'lang' param). E.g., 'English', 'German', 'French', 'Spanish'."
                },
                "sortBy": {
                  "title": "Sort By",
                  "type": "string",
                  "editor": "select",
                  "enum": [
                    "bestMatch",
                    "priceAsc",
                    "priceDesc",
                    "newest",
                    "oldest",
                    "condition",
                    "distance",
                    "quantity"
                  ],
                  "description": "Sort order for results.",
                  "default": "bestMatch"
                }
              }
            }
          },
          "maxPagesPerSearch": {
            "title": "Max Pages Per Search",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of search result pages to scrape per query (default: 10, max: 50).",
            "default": 10
          },
          "maxDetailsPerSearch": {
            "title": "Max Detail Pages Per Search",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum number of listing detail pages to visit per search for enriched data (default: 50, max: 200). Only used when detail enrichment is on.",
            "default": 50
          },
          "enrichDetails": {
            "title": "Enrich With Detail Pages",
            "type": "boolean",
            "description": "Visit each listing's detail page and merge the extra fields (description, page count, edition, ISBN-10, seller details, shipping table) into the same result row. Charged per detail page via the fixed \"listing-detail\" pay-per-event event. Off = search results only, fastest and cheapest.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of HTTP requests processed in parallel (default: 40, max: 100).",
            "default": 40
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP",
              "CAD",
              "AUD",
              "CHF",
              "JPY",
              "SEK",
              "NOK",
              "DKK",
              "PLN"
            ],
            "type": "string",
            "description": "Currency for prices and shipping (ISO 4217). Affects displayed prices and shipping rates.",
            "default": "USD"
          },
          "shipDest": {
            "title": "Ship To Destination",
            "enum": [
              "US",
              "GB",
              "DE",
              "FR",
              "ES",
              "IT",
              "NL",
              "CA",
              "AU",
              "NZ",
              "IE",
              "PT",
              "BE",
              "AT",
              "CH",
              "SE",
              "NO",
              "DK",
              "FI",
              "PL",
              "CZ",
              "JP",
              "IN",
              "BR",
              "MX",
              "SG",
              "ZA"
            ],
            "type": "string",
            "description": "Shipping destination country (ISO 3166-1 alpha-2). Affects shipping rates shown.",
            "default": "US"
          },
          "maxRequestsPerCrawl": {
            "title": "Max Requests Per Crawl",
            "minimum": 1,
            "type": "integer",
            "description": "Hard limit on total HTTP requests across all searches (default: 500).",
            "default": 500
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Select proxies to be used by your crawler."
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}