{
  "openapi": "3.0.1",
  "info": {
    "title": "Vetted Expired Domains — Spam-Checked & Scored",
    "description": "Finds expired domains with backlinks in your niche: unregistered, pending-delete and expiring domains with real authority, each vetted against Wayback history for spam, parking and topic drift, verified at the registry, and scored 0-100 with a plain-English reason. Optional Ahrefs check.",
    "version": "0.1",
    "x-build-id": "Im18W9Wbc83djEnx1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/joespeezy~expired-domain-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-joespeezy-expired-domain-finder",
        "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/joespeezy~expired-domain-finder/runs": {
      "post": {
        "operationId": "runs-sync-joespeezy-expired-domain-finder",
        "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/joespeezy~expired-domain-finder/run-sync": {
      "post": {
        "operationId": "run-sync-joespeezy-expired-domain-finder",
        "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": [
          "keywords"
        ],
        "properties": {
          "keywords": {
            "title": "Niche keywords",
            "type": "array",
            "description": "Niche words that should appear in the domain name; the Actor scans the free Open PageRank top-10-million authority index for matching domains and keeps only those that are unregistered, pending delete or expired (example for a games site: game, games, gaming, arcade, puzzle).",
            "items": {
              "type": "string"
            },
            "default": [
              "game",
              "games",
              "gaming",
              "arcade",
              "puzzle"
            ]
          },
          "domains": {
            "title": "Domains to score directly (optional)",
            "type": "array",
            "description": "Domains to check directly instead of searching the index (one per line); every listed domain is scored and returned, registered or not.",
            "items": {
              "type": "string"
            }
          },
          "csvText": {
            "title": "CSV text (optional)",
            "type": "string",
            "description": "A CSV you exported yourself (any expired-domain marketplace export, an Ahrefs export, an auction sheet) with at least a domain column; the Actor never logs into those sites itself."
          },
          "csvUrl": {
            "title": "CSV URL (optional)",
            "pattern": "^https?://.*",
            "type": "string",
            "description": "Same as csvText but fetched from a URL, for example a Google Sheet published as CSV."
          },
          "searchIndexWithList": {
            "title": "Also search the index when a list is given",
            "type": "boolean",
            "description": "When a domain list is given, also add keyword matches from the authority index (off by default so a pasted list is scored on its own).",
            "default": false
          },
          "tlds": {
            "title": "TLDs",
            "type": "array",
            "description": "Top-level domains to keep, without the dot.",
            "items": {
              "type": "string"
            },
            "default": [
              "com",
              "net",
              "org",
              "io"
            ]
          },
          "minReferringDomains": {
            "title": "Minimum referring domains",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum referring domains in the authority index (its counts run about 15 times lower than Ahrefs for the same domain, so 10–20 already means real links); re-checked against Ahrefs when a key is given.",
            "default": 10
          },
          "minArchiveAgeYears": {
            "title": "Minimum archive age (years)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum age in years of the first Wayback Machine snapshot; younger or unarchived domains are disqualified.",
            "default": 3
          },
          "maxPriceUsd": {
            "title": "Max price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Marketplace or auction listings priced above this are disqualified; dropping domains have no price.",
            "default": 200
          },
          "includeRegistered": {
            "title": "Include registered domains",
            "type": "boolean",
            "description": "Also score index matches that are still registered and live (off by default because the goal is domains you can obtain).",
            "default": false
          },
          "maxCandidates": {
            "title": "Max index matches to check",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "How many authority-index matches, highest ranked first, get the DNS and registry availability check; 3,000 takes about a minute, raise it up to 20,000 for a deep sweep.",
            "default": 4000
          },
          "maxResults": {
            "title": "Qualified domains wanted",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How many qualified domains you want; only qualified domains are charged, disqualified and unverified rows are delivered free, and at most 8 times this many candidates are scored per run.",
            "default": 10
          },
          "ahrefsApiKey": {
            "title": "Ahrefs API key (optional)",
            "type": "string",
            "description": "Optional Ahrefs API v3 key; adds domain rating, live referring domains and organic keywords, and re-verifies authority on your own Ahrefs units (about 110–160 units per scored domain)."
          },
          "openPageRankApiKey": {
            "title": "Open PageRank API key (optional)",
            "type": "string",
            "description": "Optional free Open PageRank API key from openpagerank.keywordseverywhere.com; adds a 0–10 authority signal for domains the index lacks."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Only needed if Apify datacenter IPs get blocked by a source; leave off by default."
          },
          "debug": {
            "title": "Debug logging",
            "type": "boolean",
            "description": "Verbose logging.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}