{
  "openapi": "3.0.1",
  "info": {
    "title": "Lobbying Disclosure (LDA) Database Scraper",
    "description": "Scrape the U.S. Senate/House Lobbying Disclosure Act public database. Search quarterly lobbying filings, registrants, clients, lobbyists, and LD-203 political contribution disclosures. No API key required.",
    "version": "1.0",
    "x-build-id": "0aZCd9h2kpADMXGr1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~lobbying-disclosure-lda-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-lobbying-disclosure-lda-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~lobbying-disclosure-lda-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-lobbying-disclosure-lda-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~lobbying-disclosure-lda-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-lobbying-disclosure-lda-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": [
              "filings",
              "byFilingId",
              "registrants",
              "clients",
              "lobbyists",
              "contributions"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "filings"
          },
          "registrantName": {
            "title": "Registrant / firm name",
            "type": "string",
            "description": "Filter by the lobbying firm name (mode=filings, registrants, clients, lobbyists, contributions). Partial match."
          },
          "clientName": {
            "title": "Client name",
            "type": "string",
            "description": "Filter by the client (the organization that hired the lobbyist) name (mode=filings, clients). Partial match."
          },
          "lobbyistName": {
            "title": "Lobbyist name",
            "type": "string",
            "description": "Filter by individual lobbyist name (mode=filings, lobbyists, contributions). Partial match."
          },
          "filingIds": {
            "title": "Filing IDs (mode=byFilingId)",
            "type": "array",
            "description": "Filing UUIDs to look up directly, e.g. `7866327b-c892-4430-b9f0-1f0f679c58c6`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "filingType": {
            "title": "Filing type",
            "enum": [
              "",
              "RR",
              "RA",
              "Q1",
              "Q1Y",
              "1T",
              "1TY",
              "1A",
              "1AY",
              "1@",
              "1@Y",
              "Q2",
              "Q2Y",
              "2T",
              "2TY",
              "2A",
              "2AY",
              "2@",
              "2@Y",
              "Q3",
              "Q3Y",
              "3T",
              "3TY",
              "3A",
              "3AY",
              "3@",
              "3@Y",
              "Q4",
              "Q4Y",
              "4T",
              "4TY",
              "4A",
              "4AY",
              "4@",
              "4@Y",
              "MM",
              "MMY",
              "MT",
              "MTY",
              "MA",
              "MAY",
              "M@",
              "M@Y",
              "YY",
              "YYY",
              "YT",
              "YTY",
              "YA",
              "YAY",
              "Y@",
              "Y@Y"
            ],
            "type": "string",
            "description": "Restrict to one filing type (mode=filings, contributions): registration, quarterly report, termination, or amendment.",
            "default": ""
          },
          "filingYear": {
            "title": "Filing year",
            "minimum": 1999,
            "maximum": 2027,
            "type": "integer",
            "description": "Restrict to filings/contributions for a specific reporting year (mode=filings, contributions). LDA data starts in 1999."
          },
          "filingPeriod": {
            "title": "Filing period",
            "enum": [
              "",
              "first_quarter",
              "second_quarter",
              "third_quarter",
              "fourth_quarter",
              "mid_year",
              "year_end"
            ],
            "type": "string",
            "description": "Restrict to a specific reporting period (mode=filings, contributions).",
            "default": ""
          },
          "issueAreaCode": {
            "title": "Issue area",
            "enum": [
              "",
              "ACC",
              "ADV",
              "AER",
              "AGR",
              "ALC",
              "ANI",
              "APP",
              "ART",
              "AUT",
              "AVI",
              "BAN",
              "BNK",
              "BEV",
              "BUD",
              "CIV",
              "CHM",
              "CAW",
              "CDT",
              "COM",
              "CPI",
              "CON",
              "CSP",
              "CPT",
              "DEF",
              "DIS",
              "DOC",
              "ECN",
              "EDU",
              "ENG",
              "ENV",
              "FAM",
              "FIN",
              "FIR",
              "FOO",
              "FOR",
              "FUE",
              "GAM",
              "GOV",
              "HCR",
              "HOM",
              "HOU",
              "IMM",
              "IND",
              "INS",
              "INT",
              "LBR",
              "LAW",
              "MAN",
              "MAR",
              "MIA",
              "MED",
              "MMM",
              "MON",
              "NAT",
              "PHA",
              "POS",
              "RRR",
              "RES",
              "REL",
              "RET",
              "ROD",
              "SCI",
              "SMB",
              "SPO",
              "TAR",
              "TAX",
              "TEC",
              "TOB",
              "TOR",
              "TRD",
              "TRA",
              "TOU",
              "TRU",
              "URB",
              "UNM",
              "UTI",
              "VET",
              "WAS",
              "WEL"
            ],
            "type": "string",
            "description": "Restrict filings to those that lobbied on a specific general issue area (mode=filings). Applied client-side against each filing's lobbying activities.",
            "default": ""
          },
          "filedDateFrom": {
            "title": "Filed date from (YYYY-MM-DD)",
            "type": "string",
            "description": "Only include filings/contributions posted on or after this date (mode=filings, contributions)."
          },
          "filedDateTo": {
            "title": "Filed date to (YYYY-MM-DD)",
            "type": "string",
            "description": "Only include filings/contributions posted on or before this date (mode=filings, contributions)."
          },
          "amountMin": {
            "title": "Min amount reported (USD)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Only include filings with reported income/expenses at or above this amount (mode=filings). Also applies to LD-203 contribution amounts (mode=contributions)."
          },
          "amountMax": {
            "title": "Max amount reported (USD)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Only include filings with reported income/expenses at or below this amount (mode=filings). Also applies to LD-203 contribution amounts (mode=contributions)."
          },
          "state": {
            "title": "State",
            "enum": [
              "",
              "AL",
              "AK",
              "AS",
              "AZ",
              "AR",
              "AA",
              "AE",
              "AP",
              "CA",
              "CO",
              "CT",
              "DE",
              "DC",
              "FL",
              "GA",
              "GU",
              "HI",
              "ID",
              "IL",
              "IN",
              "IA",
              "KS",
              "KY",
              "LA",
              "ME",
              "MD",
              "MA",
              "MI",
              "MN",
              "MS",
              "MO",
              "MT",
              "NE",
              "NV",
              "NH",
              "NJ",
              "NM",
              "NY",
              "NC",
              "ND",
              "MP",
              "OH",
              "OK",
              "OR",
              "PA",
              "PR",
              "RI",
              "SC",
              "SD",
              "TN",
              "TX",
              "UT",
              "VT",
              "VI",
              "VA",
              "WA",
              "WV",
              "WI",
              "WY"
            ],
            "type": "string",
            "description": "Restrict to a US state/territory (mode=registrants: registrant's state; mode=filings, clients: client's state).",
            "default": ""
          },
          "contributionType": {
            "title": "Contribution type",
            "enum": [
              "",
              "feca",
              "he",
              "me",
              "ple",
              "pic"
            ],
            "type": "string",
            "description": "Restrict LD-203 contributions to a specific type (mode=contributions).",
            "default": ""
          },
          "contributorName": {
            "title": "Contributor name",
            "type": "string",
            "description": "Filter LD-203 contribution items by contributor name (mode=contributions)."
          },
          "payeeName": {
            "title": "Payee name",
            "type": "string",
            "description": "Filter LD-203 contribution items by payee name (mode=contributions)."
          },
          "honoreeName": {
            "title": "Honoree name",
            "type": "string",
            "description": "Filter LD-203 contribution items by the honoree (e.g. the campaign/politician honored) (mode=contributions)."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. The LDA API is fully open; proxy is only used as an automatic fallback if the API ever rate-limits or blocks the datacenter IP.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}