Discover/oscn.net API
live

oscn.net APIoscn.net

Access Oklahoma State Court Network records via API. Search cases across 80+ counties, retrieve docket entries, party info, and daily filing reports.

Endpoints
5
Updated
10d ago
Try it

No input parameters required.

api.parse.bot/scraper/36371741-d78c-4d8e-8eac-70ab6b987f9f/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/36371741-d78c-4d8e-8eac-70ab6b987f9f/list_counties' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

Returns the list of all Oklahoma county/court database identifiers available for search. Each entry includes a lowercase id (e.g., 'tulsa', 'oklahoma') and the full court name.

Input

No input parameters required.

Response
{
  "type": "array",
  "fields": {
    "id": "string — lowercase county identifier used as the db parameter in other endpoints",
    "name": "string — full court name (e.g., 'Tulsa County District Court')"
  },
  "sample": {
    "data": [
      {
        "id": "tulsa",
        "name": "Tulsa County District Court"
      },
      {
        "id": "oklahoma",
        "name": "Oklahoma County District Court"
      }
    ],
    "status": "success"
  }
}

About the oscn.net API

The OSCN API provides structured access to Oklahoma State Court Network records through 5 endpoints covering case search, docket details, and daily filing reports across 80+ counties. Use search_cases to filter by party name, case type, or filing date range, then pass the returned cmid to get_case_details to retrieve the full docket — including party roles, judge assignment, and linked documents.

Case Search and Lookup

The search_cases endpoint accepts combinations of db (county identifier), lname/fname (party name), case_type (numeric code from list_district_court_case_types), case_number, and a filing date range via filed_date_l and filed_date_h in MM/DD/YYYY format. Results are capped at 500 by the source; narrow the date range to page through dense result sets. Each result returns a case_number, date_filed, style, found_party, and a cmid (Case Master ID) used to fetch full details.

Case Details and Dockets

get_case_details takes a case_number and db and returns a header object (Style, Case Number, Filed date, Judge), a parties array with each party's name and role, and a docket_entries array. Each docket entry includes a date, code, description, and a documents array with links to associated filings. Passing the cmid from search results is recommended when multiple cases share a case number to ensure the correct record is returned.

County and Case Type Reference Endpoints

list_counties returns the full set of county/court database identifiers — the lowercase id values (e.g., tulsa, oklahoma) that power the db parameter across all other endpoints. list_district_court_case_types returns numeric codes and labels (e.g., 31 for Criminal Felony, 7 for Probate) used as the case_type filter in search_cases.

Daily Filing Reports

get_daily_filings_by_county retrieves the filing report for a specific county on a given past date. The db parameter must be capitalized (e.g., Tulsa, not tulsa), and the date must be a completed past day — the current day returns empty results. Coverage is limited to approximately 13 counties including Tulsa and Oklahoma County. Each filing in the response includes case_number, style, url, cmid, and db.

Common use cases
  • Monitor daily court filings in Tulsa or Oklahoma County using get_daily_filings_by_county to track new cases by date.
  • Build a party-name lookup tool using search_cases with lname/fname to find all cases involving a specific individual.
  • Pull full docket histories for civil or criminal cases using get_case_details to extract docket_entries with document links.
  • Aggregate probate or felony filings over a date range by combining case_type with filed_date_l and filed_date_h in search_cases.
  • Populate a legal research database with judge assignments and party roles from the header and parties fields in get_case_details.
  • Cross-reference case activity across multiple Oklahoma counties by iterating over ids from list_counties.
  • Alert on new filings matching a specific party name by scheduling daily calls to search_cases filtered by lname.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does OSCN have an official developer API?+
OSCN does not publish an official developer API. The site at oscn.net provides a public-facing web interface for court record lookups, but no documented REST or data API is available to developers.
What does get_case_details actually return — is it just header metadata?+
No, it returns three main sections: a header object with Style, Case Number, Filed date, and Judge; a parties array listing each party's name and role; and a docket_entries array where each entry has a date, code, description, and a documents array containing links to associated court documents.
Why does search_cases sometimes return fewer results than expected?+
The source caps results at 500 matches per query. If a combination of filters matches more than 500 cases, only the first 500 are returned. Narrowing the filed_date_l to filed_date_h range is the recommended way to paginate through large result sets. Searching by case_number alone can also be slow or time out on some counties.
Does the daily filings endpoint cover all 80+ counties?+
No — get_daily_filings_by_county currently covers approximately 13 counties, including Tulsa and Oklahoma County. The broader search_cases and get_case_details endpoints cover 80+ counties. You can fork this API on Parse and revise it to extend daily filing coverage to additional counties.
Can I retrieve appellate court records or Supreme Court opinions through this API?+
Not currently. The API covers district court cases, dockets, and daily filings across Oklahoma counties accessible through OSCN. Appellate or Supreme Court records are not exposed by the current endpoints. You can fork this API on Parse and revise it to add an endpoint targeting those record types.
Page content last updated . Spec covers 5 endpoints from oscn.net.
Related APIs in Government PublicSee all →
identify.plantnet.org API
Identify and explore plant species by searching through Pl@ntNet's comprehensive botanical database to access detailed information like taxonomic families, genera, species descriptions, photos, and community observations. Track plant distributions, view contribution trends, and discover expert contributors within the platform's collaborative plant identification community.
data.lime.bike API
Access real-time availability data for Lime bikes and scooters, including station locations, vehicle status, system alerts, and geofencing zones across multiple cities. Monitor micromobility inventory and service information to find nearby vehicles or plan your trips effectively.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
mahatenders.gov.in API
Access Maharashtra government tenders from mahatenders.gov.in, browsing them by closing date or by organization with full tender details and pagination support. Find and review procurement opportunities across different government departments in one place.