{
  "openapi": "3.0.1",
  "info": {
    "title": "AbeBooks Scraper | Book Listings and Prices",
    "description": "AbeBooks scraper for used, rare and new book listings by ISBN, link or keyword: price, shipping, total price, condition, first edition, signed and dust jacket flags, seller and location, Goodreads rating. 2 ISBNs returned 60 listings in 20 seconds, 49 fields each. No AbeBooks account needed.",
    "version": "1.0",
    "x-build-id": "qE7gd2hyfxNxF8jW9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~abebooks-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-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/silentflow~abebooks-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-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/silentflow~abebooks-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-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",
        "properties": {
          "isbnIds": {
            "title": "📚 ISBNs",
            "type": "array",
            "description": "ISBN-10 or ISBN-13, with or without hyphens (<code>9780141439518</code>, <code>0-14-143951-3</code>). Paste a few or thousands: each ISBN returns its copies for sale, cheapest total price first, up to <b>max listings</b> per ISBN. An ISBN nobody sells is listed in the log.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 AbeBooks links or listing numbers",
            "type": "array",
            "description": "Links from any AbeBooks site: a listing (<code>https://www.abebooks.com/.../32536753287/bd</code>) or its bare number (<code>32536753287</code>), an ISBN page (<code>/9780141439518/.../plp</code>), a search results page with your own filters, or a bookseller's storefront (<code>/.../88803639/sf</code>). A listing link always returns its row, so you can re-check the same copies every day: a listing missing from the results has been sold.",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "🔎 Keywords",
            "type": "array",
            "description": "Search AbeBooks like its search box: title, author, publisher or any word of the listing, e.g. <code>tolkien hobbit</code>, <code>hemingway old man and the sea</code>. Returns up to <b>max listings</b> per keyword.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "🔢 Max listings per ISBN or search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Caps each ISBN, keyword and search link (listing links are never cut). 30 covers the cheapest copies of most ISBNs; popular titles have hundreds of copies. Run time and cost grow with this number.",
            "default": 30
          },
          "condition": {
            "title": "✨ Condition",
            "type": "array",
            "description": "Keep only copies in these conditions. Pick several to combine them (e.g. <b>Fine</b> and <b>Near fine</b> for collector copies). Leave empty for every condition.",
            "items": {
              "type": "string",
              "enum": [
                "new",
                "used",
                "asNew",
                "fine",
                "nearFine",
                "veryGood",
                "good",
                "fair",
                "poor"
              ],
              "enumTitles": [
                "New",
                "Any used condition",
                "Used: as new",
                "Used: fine",
                "Used: near fine",
                "Used: very good",
                "Used: good",
                "Used: fair",
                "Used: poor"
              ]
            }
          },
          "binding": {
            "title": "📕 Binding",
            "enum": [
              "any",
              "hardcover",
              "softcover"
            ],
            "type": "string",
            "description": "Hardcover or softcover (paperback) copies only.",
            "default": "any"
          },
          "bookAttributes": {
            "title": "🖋️ Collector filters",
            "type": "array",
            "description": "Keep only first editions, signed copies, copies with a dust jacket, or listings with the seller's own photos. Several choices must all be true.",
            "items": {
              "type": "string",
              "enum": [
                "firstEdition",
                "signed",
                "dustJacket",
                "sellerPhotos"
              ],
              "enumTitles": [
                "First edition",
                "Signed",
                "Dust jacket",
                "Seller's own photos"
              ]
            }
          },
          "maxPrice": {
            "title": "💲 Max price",
            "minimum": 0,
            "type": "integer",
            "description": "Highest item price, in the currency of the ship-to country (e.g. <code>50</code>). Leave empty for no limit."
          },
          "sortBy": {
            "title": "↕️ Sort",
            "enum": [
              "totalPrice",
              "price",
              "priceDesc",
              "newest",
              "relevance",
              "sellerRating",
              "oldestPublished",
              "newestPublished"
            ],
            "type": "string",
            "description": "Order of the copies before the cap applies. Leave empty for <b>lowest total price</b> (price plus shipping) on ISBNs, the order booksellers price against, and <b>best match</b> on keywords and search links."
          },
          "shipTo": {
            "title": "🌍 Ship to",
            "type": "string",
            "description": "Country the copies would ship to. It sets shipping prices and the currency (US dollars, pounds, euros, Canadian or Australian dollars...). Pick from the list or type a country code or name (<code>de</code>, <code>Germany</code>).",
            "default": "us"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}