Discover/OSCN API
live

OSCN APIoscn.net ↗

Access Oklahoma State Court Network records via API: district court cases, dockets, daily filings, statutes, and appellate opinions across 80+ counties.

Endpoint health
verified 17h ago
get_case_opinion
list_district_court_case_types
get_statute
get_daily_filings_by_county
list_counties
10/10 passing latest checkself-healing
Endpoints
10
Updated
5d ago

What is the OSCN API?

This API provides 10 endpoints covering Oklahoma State Court Network (OSCN) records across 80+ counties. Use search_cases to find district court cases by party name, case type, or date range; get_case_details to pull full docket entries and party lists; or get_statute to retrieve statute text, legislative history, and Citationizer citation data for any section of the Oklahoma Statutes.

This call costs1 credit / call— charged only on success
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.
Call it over HTTPgrab 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 · 10 totalmissing one? ·

Returns all Oklahoma county/court database identifiers available for search. Each entry includes a lowercase id (e.g., 'tulsa', 'oklahoma') and the full court name. Use the id value as the db parameter in other endpoints.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "items": "array of county objects with id and name"
  },
  "sample": {
    "data": {
      "items": [
        {
          "id": "tulsa",
          "name": "Tulsa County District Court"
        },
        {
          "id": "oklahoma",
          "name": "Oklahoma County District Court"
        }
      ]
    },
    "status": "success"
  }
}

About the OSCN API

District Court Case Data

The search_cases endpoint accepts filters including db (county identifier from list_counties), lname/fname for party name, case_type (from list_district_court_case_types), and a filing date range via filed_date_l and filed_date_h. Results return up to 500 case summaries per query — each with case_number, date_filed, style, found_party, and a cmid used to precisely target get_case_details. The case detail response includes a header object (Style, Judge, Filed date), a parties array with name and role, and docket_entries with date, code, description, and attached documents.

Daily Filings and Foreclosure Search

get_daily_filings_by_county returns all cases filed on a given past date for one of approximately 13 supported counties (including Tulsa and Oklahoma). The date parameter must be a completed past day; the current date returns empty results. search_foreclosure_cases narrows civil filings further: it scans CJ (Civil relief over $10,000) cases for a county and date range, inspects each for mortgage foreclosure indicators, and returns structured results with plaintiff, defendants, has_more, and next_offset for pagination. The limit parameter is clamped at 40 candidates per call.

Oklahoma Statutes

list_statute_titles returns all statute title codes and a scope string showing the current legislative session. list_statute_sections expands any title into its full section list with cite_id, section, name, and heading. get_statute returns the full text, history note, and Citationizer data — citing_documents (opinions and AG opinions that cite the section) and table_of_authorities (documents the section cites) — each entry carrying a cite_id that feeds directly into get_case_opinion.

Appellate Opinions

get_case_opinion retrieves a published OSCN appellate opinion by citation string (e.g. 1998 OK CR 6) or cite_id. The response includes full text (which can exceed 100,000 characters for longer opinions), citations (parallel cite array), decided date, court, and inline_references identifying cited documents within the opinion body. Opinions can be discovered via the Citationizer data returned by get_statute.

Reliability & maintenanceVerified

The OSCN API is a managed, monitored endpoint for oscn.net — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when oscn.net changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official oscn.net API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
17h ago
Latest check
10/10 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Monitor new district court filings in a county by polling get_daily_filings_by_county each morning
  • Build a party-name alert system using search_cases with lname/fname filters across multiple db counties
  • Track mortgage foreclosure activity in a county and date range with search_foreclosure_cases and its next_offset pagination
  • Retrieve full docket history and party roles for a specific case number using get_case_details with cmid for precision
  • Look up the current text of any Oklahoma statute section and its legislative history via get_statute with cite_id
  • Find all appellate opinions that cite a specific statute section using Citationizer citing_documents from get_statute
  • Cross-reference an appellate opinion's table of authorities by resolving each cite_id through get_case_opinion
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does OSCN provide an official public developer API?+
OSCN does not publish an official developer API. The Oklahoma State Court Network makes case records, statutes, and opinions available through its public web interface at oscn.net, but there is no documented REST or GraphQL API for programmatic access.
Why does search_cases sometimes return fewer results than expected?+
The OSCN site caps search results at 500 rows regardless of how many matching records exist. To retrieve more of a large result set, narrow the filing date range with filed_date_l and filed_date_h and issue successive calls. The response includes a total field that will show 500 when the cap is hit, signaling that the result set is truncated.
Which counties support get_daily_filings_by_county?+
Daily filing reports are available for approximately 13 counties, including Tulsa and Oklahoma. Not all 80+ Oklahoma counties that appear in list_counties support this endpoint. The endpoint returns a count of zero for unsupported counties or for today's date, since data is only available for completed past days.
Does the API cover Workers' Compensation or Tax Commission court records?+
Not currently. The API covers district court cases (search_cases, get_case_details), daily filings, foreclosure scans, Oklahoma Statutes, and published appellate opinions from OSCN's legal research database. Workers' Compensation, Tax Commission, and other specialized tribunal records are not included. You can fork this API on Parse and revise it to add endpoints targeting those dockets if OSCN exposes them publicly.
How do I paginate through foreclosure search results when there are more candidates than the per-call limit?+
Pass the next_offset value from the previous response as the offset parameter in your next call. The has_more field indicates whether unscanned candidates remain. Each call scans up to 40 candidate CJ cases (the limit is clamped at 40). The candidates_total field shows how many CJ cases the date range returned before filtering, and candidates_capped flags whether the 500-row site cap was reached.
Page content last updated . Spec covers 10 endpoints from oscn.net.
Related APIs in Government PublicSee all →
nzlii.org API
Access data from nzlii.org.
austlii.edu.au API
Search and access Australian legal cases from AustLII's comprehensive database, browsing by year and downloading decisions in multiple formats including RTF, PDF, and print-friendly versions. Discover available case databases and retrieve specific court rulings with prioritized download options to suit your preferred format.
ecourtsindia.com API
Search and retrieve detailed information about court cases across India's Supreme Court, High Courts, and District Courts from a database of over 239 million cases. Find case details, track legal proceedings, and access comprehensive court records to stay informed about judicial matters across the Indian court system.
judyrecords.com API
Search and retrieve detailed court records including case information and statistics from a comprehensive legal database. Access specific case details and view aggregated court record stats to research legal proceedings and case outcomes.
justia.com API
Access Justia's legal database: search the lawyer directory by practice area and location, retrieve attorney profiles, browse state statutes and case law, explore legal guides, and look up law schools — all in one API.
courtlistener.com API
Search through millions of court opinions and RECAP docket documents across 471 jurisdictions to find relevant legal cases and filings for your research. Access free legal information from CourtListener to quickly locate court rulings, case documents, and docket details without subscription fees.
lawyers.com API
Search and discover lawyers and law firms with detailed profiles, client reviews, and practice area information. Find legal articles and featured firms by specialty to help you locate the right legal representation for your needs.
indocourtatlas.com API
Search and browse judicial records, legal decisions, and court cases from courts throughout Indonesia to find relevant case information and rulings. Access comprehensive Indonesian court data through simple search and browsing capabilities to research legal precedents and case outcomes.