{
  "openapi": "3.0.1",
  "info": {
    "title": "Court Records Scraper - OSCN OK, AR CourtConnect, LA 1JDC",
    "description": "Court records from three free public portals: OSCN Oklahoma, Arkansas CourtConnect, and Louisiana 1st JDC. Search by recent filings, date range, party name, or case number. Returns case number, caption, type, filed date, court, parties, status, and optional filings list.",
    "version": "0.1",
    "x-build-id": "YIje2yEJWqaVRYd9V"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jungle_synthesizer~oscn-arcourtconnect-la1jdc-court-records-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jungle_synthesizer-oscn-arcourtconnect-la1jdc-court-records-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/jungle_synthesizer~oscn-arcourtconnect-la1jdc-court-records-scraper/runs": {
      "post": {
        "operationId": "runs-sync-jungle_synthesizer-oscn-arcourtconnect-la1jdc-court-records-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/jungle_synthesizer~oscn-arcourtconnect-la1jdc-court-records-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-jungle_synthesizer-oscn-arcourtconnect-la1jdc-court-records-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": {
          "sp_intended_usage": {
            "title": "What is the intended usage of this data?",
            "minLength": 1,
            "type": "string",
            "description": "What will this data feed? E.g. lead lists, KYB checks, price tracking."
          },
          "sp_improvement_suggestions": {
            "title": "How can we improve this crawler for you?",
            "minLength": 1,
            "type": "string",
            "description": "Provide any feedback or suggestions for improvements."
          },
          "sp_contact": {
            "title": "Contact Email",
            "minLength": 1,
            "type": "string",
            "description": "We'll personally help with your use case. No spam."
          },
          "portals": {
            "title": "Portals",
            "type": "array",
            "description": "Court portals to search. LA_1JDC (Louisiana 1st JDC) was decommissioned 2026-07-17 — lacourtconnect.com now blocks all automated access. Defaults to all supported portals.",
            "items": {
              "type": "string",
              "enum": [
                "OSCN",
                "AR_CourtConnect"
              ],
              "enumTitles": [
                "OSCN (Oklahoma)",
                "AR CourtConnect (Arkansas)"
              ]
            }
          },
          "searchMode": {
            "title": "Search Mode",
            "enum": [
              "recent_filings",
              "date_range",
              "party_name",
              "case_number"
            ],
            "type": "string",
            "description": ""
          },
          "partyName": {
            "title": "Party Name",
            "type": "string",
            "description": "Party name to search (used when searchMode is party_name). Use First Last order, e.g. \"John Smith\" — a single surname also works."
          },
          "caseNumber": {
            "title": "Case Number",
            "type": "string",
            "description": "Case number to look up (used when searchMode is case_number)"
          },
          "dateFrom": {
            "title": "Date From",
            "type": "string",
            "description": "Start date in ISO format YYYY-MM-DD (used with date_range and recent_filings)"
          },
          "dateTo": {
            "title": "Date To",
            "type": "string",
            "description": "End date in ISO format YYYY-MM-DD (used with date_range)"
          },
          "includeFilings": {
            "title": "Include Filings List",
            "type": "boolean",
            "description": "Pull the full docket filings list per case (slower; increases run time and cost)",
            "default": false
          },
          "county": {
            "title": "County",
            "type": "string",
            "description": "Only cases from this county, e.g. Tulsa or Pulaski. Leave empty for all counties."
          },
          "caseType": {
            "title": "Case Type",
            "type": "string",
            "description": "Only this case type. Oklahoma: the code, e.g. CF, CM, FD. Arkansas: the start of the type, e.g. Civil."
          },
          "status": {
            "title": "Case Status",
            "type": "string",
            "description": "Only cases with this status, e.g. Open or Closed."
          },
          "partyType": {
            "title": "Party Type",
            "type": "string",
            "description": "With a party name search, only matches in this role, e.g. Defendant or Plaintiff."
          },
          "judge": {
            "title": "Judge",
            "type": "string",
            "description": "Only cases before this judge, e.g. Brown. Oklahoma only: Arkansas does not publish the judge."
          },
          "attorneyName": {
            "title": "Attorney",
            "type": "string",
            "description": "Only cases with this attorney, e.g. Nixon. Oklahoma only: Arkansas does not publish attorneys."
          },
          "startUrls": {
            "title": "Case URLs",
            "type": "array",
            "description": "Fetch these cases directly: oscn.net case page URLs or caseinfo.arcourts.gov case URLs. Replaces the search.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "includeCaseDetails": {
            "title": "Include Arkansas Case Details",
            "type": "boolean",
            "description": "Add the full parties, docket entries, dispositions and document count to Arkansas cases. Each case is billed as one extra result.",
            "default": false
          },
          "monitorMode": {
            "title": "Only New Cases",
            "type": "boolean",
            "description": "Return only cases not delivered by an earlier run of the same search.",
            "default": false
          },
          "maxItems": {
            "title": "Max Items",
            "type": "integer",
            "description": "Maximum number of case records to return (across all portals)",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}