Contract data from school board agendas and public filingsEvery row links to its source documentData files delivered within one business day

Free sampleSources and methodAboutText size110%

API documentation

School district contracts, renewals and board agendas by API

The same data as our files, as JSON or CSV over HTTPS: 42,454 contract items from board agendas, 136,768 Texas Form 1295 certificates, 35,875 suppliers and 865,271 agenda items from 36,617 board meetings in 43 states. Filter by state, district, category, supplier, value and contract end date, and every row comes back with the link to its source document.

  • REST and JSON
  • CSV export
  • API key per licence
A database of school district contracts connected to district buildings

Product brochure (PDF)

Download the product brochure

All our school district data in one document: what each file contains, example records, how we collect the data, and how orders and licences work.

Overview

One read-only API over five kinds of record

Every endpoint answers a GET request with JSON by default. Lists are paginated, can be sorted and can be downloaded as CSV with format=csv.

Base URLhttps://www.schooldistrictrfp.com/api/v1Formatapplication/json; charset=utf-8

The API is organised around the records a sales or bid team works with:

  • Districts. Every district in the federal finance survey for fiscal year 2023, keyed by its 7-digit NCES district ID (leaid), with enrollment, total spending, capital outlay and counts of the records we hold for it.
  • Contracts. Contract and purchase items approved by Texas school boards, with the supplier, the amount, start and end dates, the term, renewal options, any cooperative contract and a link to the meeting.
  • Certificates. Texas Form 1295 certificates filed for school district contracts since January 2021: supplier, city, contract number, goods or services and the date the district acknowledged it.
  • Suppliers. One record per supplier across contracts and certificates, with the districts it serves and its most frequent categories.
  • Meetings and agenda items. Board meetings and their agenda items from 43 states, searchable by word, district and date.

Contracts and certificates carry up to several of 23 categories, for example construction, transportation or software-licences. The list with counts is at GET /categories. A record is marked multi_award when the same contract was awarded to two or more suppliers.

Data is refreshed every week as new board meetings and certificates are published. Dates are in the form YYYY-MM-DD, amounts are US dollars as stated in the board item, and a field we could not fill is null rather than a guess.

What the API covers

42,454contract itemsfrom Texas board agendas
136,768Form 1295 certificatesTexas school districts
35,875suppliersacross both sources
36,617board meetingsin 43 states
865,271agenda itemsfull-text search
19,747districtswith NCES IDs
Authentication

Send your key with every request

Each key belongs to one data licence. Keep it on your server: anyone holding it can use your quota.

Pass the key in the X-API-Key header, or as a bearer token in the Authorization header. Both work the same way. Keys are not accepted in the URL, so they do not end up in proxy logs or browser history.

headers
# either header works
X-API-Key: sdr_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Authorization: Bearer sdr_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

A request without a key gets 401 missing_api_key, a wrong key gets 401 invalid_api_key, and a revoked or expired key gets 403. After 30 failed attempts in ten minutes from one address, that address waits ten minutes. Only GET /api/v1/, which lists the endpoints, works without a key.

We store keys only as one-way hashes. If a key is lost or exposed, write to us and we replace it; the old key stops working at once.

Quick start

Contracts ending in the next six months

The same request in three languages: transportation contracts in Texas that end within 180 days, soonest first.

curl -s "https://www.schooldistrictrfp.com/api/v1/renewals?within_days=180&state=TX&category=transportation" \
  -H "X-API-Key: $SDR_API_KEY"
import os, requests

r = requests.get(
    "https://www.schooldistrictrfp.com/api/v1/renewals",
    params={"within_days": 180, "state": "TX", "category": "transportation"},
    headers={"X-API-Key": os.environ["SDR_API_KEY"]},
    timeout=60,
)
r.raise_for_status()
for c in r.json()["data"]:
    print(c["end_date"], c["district"], c["amount_usd"], [s["id"] for s in c["suppliers"]])
// Node.js 18 or later (built-in fetch). Keep the key on the server.
const url = new URL("https://www.schooldistrictrfp.com/api/v1/renewals");
url.search = new URLSearchParams({ within_days: "180", state: "TX", category: "transportation" });

const res = await fetch(url, { headers: { "X-API-Key": process.env.SDR_API_KEY } });
if (!res.ok) throw new Error((await res.json()).error.message);
const { data, meta } = await res.json();
console.log(meta.total, "contracts");
for (const c of data) console.log(c.end_date, c.district, c.amount_usd);

In these examples the key is read from an environment variable named SDR_API_KEY. The response is described under Responses.

Endpoints

Sixteen endpoints, all GET

Paths are relative to the base URL. List endpoints accept page, per_page, sort and format in addition to the filters shown.

EndpointReturns
/districtsDistricts, searchable by name, state and size
/districts/{leaid}One district with top suppliers, categories, upcoming end dates, recent contracts and meetings
/districts/{leaid}/contractsContracts of one district, with all contract filters
/contractsContract search
/contracts/{id}One contract
/renewalsContracts that end within the next N days
/certificatesTexas Form 1295 certificate search
/certificates/{id}One certificate
/suppliersSupplier search
/suppliers/{id}One supplier with districts served, upcoming end dates, recent contracts and certificates
/suppliers/{id}/contractsContracts held by one supplier
/categoriesThe 23 categories with counts
/meetingsBoard meetings by district, state and date
/meetings/{id}One meeting with its agenda items and contract items
/agenda-itemsAgenda items by district, state, meeting, date and words
/usageYour key's limits and use

GET/districts

ParameterDescription
qPart of the district name, for example katy
stateTwo-letter state code; several separated by commas
min_enrollment, max_enrollmentEnrollment range (fall membership, FY2023)
has_contractstrue for districts with contracts or certificates
has_agendastrue for districts with board meetings in the archive
sortname, enrollment, spending, contracts, certificates, meetings, last_meeting. Default -enrollment

GET /districts/{leaid} takes the 7-digit NCES ID, for example /districts/4825170 for Katy ISD.

GET/contracts

The main search. Filters combine with AND; a comma inside one filter means OR.

ParameterDescription
stateTwo-letter state code, for example TX
districtOne or more NCES district IDs (up to 50)
district_namePart of the district name
categoryOne or more category IDs from /categories
supplierOne or more supplier IDs from /suppliers (up to 20)
supplier_namePart of the supplier name
qWords in the agenda item or the description of what was bought
end_from, end_toContract end date range, YYYY-MM-DD
ending_within_daysContracts ending between today and N days from today (1 to 1825)
has_renewal_optionstrue when the item states renewal options
min_value, max_valueAmount range in US dollars
has_amounttrue for items with a stated amount
multi_awardtrue for contracts awarded to two or more suppliers
cooperativetrue for purchases through a cooperative contract
meeting_from, meeting_toBoard meeting date range
sortmeeting_date, end_date, amount, district. Default -meeting_date

The same filters work on /districts/{leaid}/contracts and /suppliers/{id}/contracts. Contract IDs look like C001819.

GET/renewals

Contracts whose end date falls between today and within_days from today (default 180, at most 1825), soonest first. It accepts every contract filter except the end date ones, and adds days_to_end to each row. Use it for a renewal calendar: for example /renewals?within_days=365&category=custodial&has_renewal_options=true.

GET/certificates

ParameterDescription
district, stateNCES district IDs or state code
supplier, supplier_nameSupplier ID or part of the name
categoryCategory IDs
qWords in the goods or services description or the contract number
from, toDate the district acknowledged the certificate
multi_awardtrue when two or more suppliers filed for the same district contract number
sortacknowledged, district, supplier. Default -acknowledged

Certificate IDs are the certificate numbers, for example /certificates/2026-1457357.

GET/suppliers

ParameterDescription
qPart of the supplier name
stateState of the supplier's address
categorySuppliers whose top categories include it
districtSuppliers with contracts or certificates in these districts
min_districtsMinimum number of districts served
sortname, districts, contracts, certificates, value, last_seen. Default -districts

A supplier ID is a short lowercase form of the name, stable between updates. Spelling variants of the same company are grouped under one ID and listed in other_names.

GET/meetings and /agenda-items

ParameterDescription
district, stateNCES district IDs or state code
from, toMeeting date range
has_contract_itemsMeetings only: true for meetings with contract items
meetingAgenda items only: meeting IDs such as M0010694
qAgenda items only: words that must all appear in the title or description, for example q=chromebook purchase
sortdate or district (meetings also items). Default -date

Both need at least one filter. GET /meetings/{id} returns the meeting with all its agenda items in order and any contract items read from it.

GET/usage and /categories

/usage shows your key's plan and limits, what you have used today and a daily history (days, up to 90). It does not count toward the row quota. /categories lists the category IDs, names, families and counts.

Responses

What comes back

Lists return data, meta and links. Single records return data only. Company and supplier names are hidden in the examples on this page.

{
  "data": [
    {
      "id": "C001819",
      "leaid": "4823640",
      "district": "HOUSTON ISD",
      "state": "TX",
      "meeting_date": "2025-01-16",
      "meeting_id": "M0002316",
      "agenda_item": "9. Ratification Of Cooperative Vendor Awards From August 11, 2023, To The Present",
      "suppliers": [
        { "id": "████████-███████████", "name": "█████████ ███████████ LLC" },
        { "id": "█████████-████", "name": "█████████ ████, LLC" },
        { "id": "█████████-█████████████-██████", "name": "█████████ █████████████ ██████, Inc" },
        { "id": "██████-█████-████", "name": "██████ █████ ████ & █████ Inc" }
      ],
      "vendor_as_written": "████████████████████████; ██████████████; ██████████████████; ████████████████",
      "multi_award": true,
      "what": "Cooperative / Medium and Heavy-Duty Trucks, Accessories, Parts, and Repair Services",
      "amount_usd": 750000.0,
      "amount_text": "$750,000",
      "start_date": "2024-01-24",
      "end_date": "2026-11-30",
      "days_to_end": 1,
      "term": "January 24, 2024 through November 30, 2024, with two automatic annual renewals, not to extend beyond November 30, 2026.",
      "renewal_options": "two automatic annual renewals, not beyond November 30, 2026",
      "has_renewal_options": true,
      "cooperative_contract": "BuyBoard cooperative project number 723-23",
      "categories": ["transportation", "maintenance-repair"],
      "source_url": "https://houstonisd.legistar.com/MeetingDetail.aspx?ID=1210&GUID=A9F23E88-055B-4CCB-B040-832F6997C4F4"
    }
  ],
  "meta": { "page": 1, "per_page": 25, "total": 25, "pages": 1, "sort": "end_date" },
  "links": {
    "self": "https://www.schooldistrictrfp.com/api/v1/renewals?within_days=180&state=TX&category=transportation&page=1",
    "next": null,
    "prev": null
  }
}
{
  "data": {
    "leaid": "4825170",
    "name": "KATY ISD",
    "state": "TX",
    "city": "Katy",
    "enrollment": 92667,
    "total_expenditure_usd": 1482497000.0,
    "capital_outlay_usd": 341441000.0,
    "spending_year": "FY2023",
    "contracts": 223,
    "certificates": 2379,
    "suppliers": 1972,
    "meetings": 44,
    "agenda_items": 410,
    "first_meeting": "2024-11-18",
    "last_meeting": "2026-11-16",
    "profile_page": "https://www.schooldistrictrfp.com/districts/katy-isd/",
    "top_suppliers": [
      { "id": "███████-████████", "name": "███████ ████████, LLC", "contracts": 22, "certificates": 3 },
      { "id": "████████████-construction", "name": "████████████ Construction, Ltd", "contracts": 15, "certificates": 0 }
    ],
    "top_categories": [
      { "category": "construction", "contracts": 76 },
      { "category": "insurance-benefits", "contracts": 21 },
      { "category": "transportation", "contracts": 18 }
    ],
    "upcoming_renewals": [ /* up to 10 contracts, same fields as /contracts */ ],
    "recent_contracts": [ /* up to 10 */ ],
    "recent_meetings": [ /* up to 5 */ ],
    "links": { "contracts": "https://www.schooldistrictrfp.com/api/v1/contracts?district=4825170", /* renewals, certificates, meetings, agenda_items */ }
  }
}
{
  "data": {
    "id": "███████-████████",
    "name": "███████ ████████, LLC",
    "other_names": ["███████ ████████, Inc", "███████ ████████"],
    "city": "Houston",
    "state": "TX",
    "contracts": 32,
    "certificates": 7,
    "districts": 5,
    "single_award_contract_value_usd": 313754101.0,
    "first_seen": "2021-05-21",
    "last_seen": "2026-11-17",
    "top_categories": ["construction", "legal-financial", "athletics-fine-arts"],
    "districts_served": [
      { "leaid": "4825170", "name": "KATY ISD", "state": "TX", "contracts": 22, "certificates": 3, "last_seen": "2026-04-20" },
      { "leaid": "4811190", "name": "BRAZOSPORT ISD", "state": "TX", "contracts": 5, "certificates": 1, "last_seen": "2026-06-15" }
    ],
    "upcoming_end_dates": [ /* contracts */ ],
    "recent_contracts": [ /* contracts */ ],
    "recent_certificates": [ /* certificates */ ]
  }
}

Contract fields

FieldMeaning
suppliersSuppliers named in the item, each with an ID you can pass to /suppliers/{id}
vendor_as_writtenThe supplier names exactly as the board item gives them
whatWhat was bought, in a short phrase
amount_usd, amount_textThe amount as a number and as written; a not-to-exceed amount or unit price is kept in the text
start_date, end_date, days_to_endContract dates as stated, and days from today to the end date
term, renewal_optionsThe term and renewal wording from the item
cooperative_contractThe cooperative or interlocal contract used, when there is one
meeting_id, source_urlThe meeting in /meetings and the public page of the agenda

Pagination and sorting

per_page is 25 by default and at most 100 for JSON. page starts at 1. meta.total is the number of matching records, and links.next is the ready-made URL of the next page, or null on the last one. To sort in descending order, put a minus sign before the field: sort=-amount. Records with an empty sort field come last.

CSV export

Add format=csv to any list

The same filters, one row per record, a header row, UTF-8. Opens directly in Excel and loads into any CRM import.

curl -s "https://www.schooldistrictrfp.com/api/v1/contracts?category=custodial&end_from=2027-01-01&end_to=2027-12-31&format=csv&per_page=1000" \
  -H "X-API-Key: $SDR_API_KEY" -o custodial-ending-2027.csv
import os, requests

H = {"X-API-Key": os.environ["SDR_API_KEY"]}
url = "https://www.schooldistrictrfp.com/api/v1/certificates"
params = {"district": "4825170", "from": "2025-01-01", "format": "csv", "per_page": 1000, "page": 1}
with open("katy-certificates.csv", "w", encoding="utf-8") as f:
    while True:
        r = requests.get(url, params=params, headers=H, timeout=120)
        r.raise_for_status()
        lines = r.text.splitlines(keepends=True)
        f.writelines(lines if params["page"] == 1 else lines[1:])
        if 'rel="next"' not in r.headers.get("Link", ""):
            break
        params["page"] += 1
  • CSV pages hold up to 1,000 rows (500 by default). The total is in the X-Total-Count header and the next page in the Link header.
  • Lists inside a record, such as suppliers and categories, are joined with | in one cell.
  • A text cell that starts with =, +, - or @ gets a leading apostrophe, so a spreadsheet never runs it as a formula.
Errors

One error format for every endpoint

Errors use standard HTTP status codes and a JSON body with a stable code you can test in your program.

400 Bad Request
{
  "error": {
    "status": 400,
    "code": "invalid_parameter",
    "message": "end_from must be a date in the form YYYY-MM-DD.",
    "param": "end_from",
    "request_id": "3f9c2a7d41b0e6c5",
    "documentation": "https://www.schooldistrictrfp.com/api/#errors"
  }
}
StatusCodeWhen
400invalid_parameterA value has the wrong form or is out of range, for example a date, a number or a sort field
400unknown_parameterA parameter the endpoint does not accept; the message lists the allowed ones
400missing_parameter/meetings or /agenda-items without any filter
401missing_api_keyNo key in the request
401invalid_api_keyThe key does not exist
403key_revoked, key_expiredThe key was replaced, or the licence period ended
404not_foundUnknown endpoint, or no record with that ID
405method_not_allowedAnything other than GET or HEAD
429rate_limitedToo many requests this minute; wait the seconds in Retry-After
429daily_quota_exceededThe day's request or row quota is used up; it resets at 00:00 UTC
500, 503internal_error, unavailableA problem on our side, or a short pause during the weekly update; retry later

Every response carries an X-Request-Id header. If you write to us about an error, include it and we can find the request.

Rate limits

Limits per key

Each key has a per-minute rate, a daily request quota and a daily row quota. The plan is set by your licence; larger limits are part of the quote.

PlanRequests per minuteRequests per dayRows per day
Standard605,00050,000
Pro12020,000250,000
Enterprise300100,0001,000,000

Rows are the records returned: a list page of 100 counts as 100 rows, a single record as one. Days run in UTC. Every successful response tells you where you stand:

HeaderMeaning
X-RateLimit-LimitRequests allowed per minute
X-RateLimit-RemainingRequests left in the current minute
X-RateLimit-ResetUnix time when the minute window resets
X-Quota-Requests-RemainingRequests left today
Retry-AfterOn a 429: seconds to wait

For a full copy of a state or category, the data file is usually the better choice: it arrives as CSV and Excel and does not use your quota. Many customers load the file once and use the API for daily changes and renewal checks.

Get a key

API access comes with a data licence

The API covers the scope of your licence, and the key is issued when the licence starts.

  1. Send the quote form with API access selected, and tell us the states, categories or districts you need and roughly how many requests a day you expect.
  2. We reply within one business day with the scope, the plan and the price for a year.
  3. After payment by card, PayPal or invoice, you receive your key and the plan limits. Updates for the year are included, and renewal is at the same price.

One licence can have several keys, for example one for production and one for development. Each is listed separately in /usage.

API questions

Common questions about the API

Is the API data the same as the files?

Yes. Both come from the same database and are updated weekly, with the same source link on every row.

Which states have contract items?

Contract items with amounts and end dates, and the Form 1295 certificates, are for Texas. Board meetings and agenda items cover 43 states, and district records cover the whole country.

Can I call the API from a web page?

Call it from your server and pass the results to the page. A key placed in browser code can be copied by anyone who opens the page.

How do I match a district to my CRM?

Use the NCES district ID in leaid. It is the federal ID used by most education datasets and does not change when a district renames itself.

Are there client libraries?

Yes, small client packages named schooldistrictrfp for the common languages. Plain HTTP works just as well, as the examples above show.

Is there personal or student data?

No student data. The records are about public contracts and public meetings, as the districts published them.

API key

Tell us the scope and get a key with your licence

For example "Texas, transportation and custodial, renewal checks every morning".

  • Reply within one business day
  • Limits sized to your use
  • Invoice, card or PayPal
Quote form DataAPI accessWheree.g. Texas Whate.g. transportationWork email[email protected] Go to the quote form