GSA eLibrary Search
GET
Search GSA eLibrary for schedule, SIN, and contract rows by keyword or by a full search URL.
Credit cost: 1 credit per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringRequired. A keyword, or a full search URL on gsaelibrary.gsa.gov. The URL must contain searchResults.do or searchText=.
Example:
radarURL example:
https://www.gsaelibrary.gsa.gov/ElibMain/searchResults.do?searchText=radar&searchType=allWordsfields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
Default
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
Default
falseSuccessful response
application/json- response
results?array<>pagination?curl -X GET 'https://api.piloterr.com/v2/gsaelibrary/search?query=string'Example Response
{ "results": [ { "sin": null, "url": "https://www.gsaelibrary.gsa.gov/ElibMain/contractorInfo.do?contractNumber=GS-07F-0239T&contractorName=US+RADAR+INC&executeQuery=YES", "name": "US RADAR INC", "category": "Contractors", "description": null, "result_type": "contract", "schedule_name": "Multiple Award Schedule", "contract_number": "GS-07F-0239T", "schedule_number": "MAS" } ], "pagination": { "next": null, "page": 1, "per_page": 63, "total_pages": 1, "total_results": 63 }}