{
  "openapi": "3.0.1",
  "info": {
    "title": "BLM Mining Claims Search & Monitor API — Lode/Placer (MLRS)",
    "description": "Search and monitor US federal mining claims from the official BLM MLRS national dataset. Filter by state, claim type (lode / placer / mill site) and status, and track newly recorded or modified claims. Mineral-rights and land data. Keyless, official source.",
    "version": "1.1",
    "x-build-id": "5J6Hrrb8hrn36EkwE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/malonestar~blm-mining-claims/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-malonestar-blm-mining-claims",
        "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/malonestar~blm-mining-claims/runs": {
      "post": {
        "operationId": "runs-sync-malonestar-blm-mining-claims",
        "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/malonestar~blm-mining-claims/run-sync": {
      "post": {
        "operationId": "run-sync-malonestar-blm-mining-claims",
        "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": [
          "states"
        ],
        "properties": {
          "states": {
            "title": "States",
            "type": "array",
            "description": "REQUIRED. Two-letter state codes to search. BLM mining claims exist in AK, AZ, CA, CO, ID, MT, NM, NV, OR, UT and WY, plus a small number elsewhere. Name the states explicitly; there is no default, so a run cannot silently answer about Nevada when you meant the whole West.",
            "items": {
              "type": "string"
            }
          },
          "claimType": {
            "title": "Claim type",
            "type": "string",
            "description": "Filter by claim type keyword: Lode, Placer, Mill Site, or Tunnel Site. Matched case-insensitively against BLM's inconsistently-cased product field, so it also catches the National Park variants. Empty = all types."
          },
          "disposition": {
            "title": "Disposition / status",
            "enum": [
              "",
              "Active",
              "Filed",
              "Submitted",
              "Pending",
              "Under Review",
              "On Appeal",
              "Appeal - Stay Granted",
              "Closed"
            ],
            "type": "string",
            "description": "Filter by case disposition. Valid values in the Not Closed layer: Active, Filed, Submitted, Pending, Under Review, On Appeal, Appeal - Stay Granted. The value Closed exists only in the Closed layer, so it also requires includeClosed = true. BLM does not use 'Void' in either layer. An impossible value fails the run rather than returning an empty dataset.",
            "default": ""
          },
          "nameContains": {
            "title": "Claim name contains",
            "type": "string",
            "description": "Return only claims whose name contains this text."
          },
          "caseSerial": {
            "title": "Case serial number",
            "type": "string",
            "description": "Look up one exact BLM case serial number (e.g. NV105216280)."
          },
          "sinceModified": {
            "title": "Modified since (YYYY-MM-DD)",
            "pattern": "^$|^\\d{4}-\\d{1,2}-\\d{1,2}$",
            "type": "string",
            "description": "Return only claims created/updated on or after this date — use for new-claim monitoring. MUST be YYYY-MM-DD (e.g. 2026-06-01) - any other format is rejected and the run fails without billing, rather than being silently reinterpreted by ArcGIS's own date parser. Slash forms are rejected on purpose: live-measured, an ambiguous 05/06/2025 is silently read as May 6 (US order) and differs from the June 5 (EU) reading by 6.0% of matching claims, with nothing in the response indicating a format was guessed. Empty = no lower bound."
          },
          "includeClosed": {
            "title": "Include closed claims",
            "type": "boolean",
            "description": "Also search the Closed layer (80,095 records) in addition to the Not Closed layer. Required if you filter on disposition 'Closed'.",
            "default": false
          },
          "maxResults": {
            "title": "Max results per layer",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of claim records to return per layer, most recently modified first. Every row carries layer_total_matching and result_truncated so you can tell whether you received the complete set - a statewide Nevada query matches over 275,000 claims.",
            "default": 1000
          },
          "monitor": {
            "title": "Delta mode (only new since last run)",
            "type": "boolean",
            "description": "Delta mode: emit only claims not seen in previous runs, using a named cross-run store keyed to this exact filter set. The first run after enabling it establishes the baseline and emits everything that matches.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}