Subs paid by a prime
Prime-side reverse lookup: "what subs has this UEI paid?" Indexed on prime_awardee_uei. Same row shape as /subawards/search plus a top-level summary block aggregating across the filtered result set.
Parameters
uei(path), 12-character UEI of the prime. Normalized.sort_by:subaward_action_date(default),subaward_amount, orsubaward_sam_report_last_modified_date.sort_order:ascordesc(defaultdesc).date_from/date_to:YYYY-MM-DD.date_fromis clamped to the effective subaward floor (2024-10-01today).limit: Results per page. Default 100; maximum 100 on the free trial and 1,000 on paid plans. Over the maximum returns402.offset: ≥ 0 (default 0).fields: Comma-separated projection (subaward row columns).subaward_sam_report_idalways included.
Response
{
"uei": "H11HD5VHGHN3",
"summary": {
"prime_name": "LOCKHEED MARTIN CORPORATION",
"total_subaward_amount": 48200000.00,
"distinct_sub_vendors": 127,
"distinct_prime_contracts": 14,
"first_subaward_date": "2021-08-12",
"last_subaward_date": "2026-05-28"
},
"data": [ /* same 30-field rows as /subawards/search */ ],
"pagination": { "limit": 50, "offset": 0, "total": 1247, "total_is_estimate": false, "has_next": true },
"filters_applied": { "sort_by": "subaward_action_date", "sort_order": "desc", "date_from": "2024-10-01" },
"window": { "plan_window_days": 1825, "earliest_searchable": "2024-10-01", "clamped": false }
}
UEIs with no subaward records return 200 with an empty data array and a zero summary, not a 404, same pattern as /companies/{uei}/awards.
Example
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://govconapi.com/api/v1/companies/H11HD5VHGHN3/subawards?sort_by=subaward_amount&limit=50"