Piloterr

GSA eLibrary Search

GET
/v2/gsaelibrary/search

Search GSA eLibrary for schedule, SIN, and contract rows by keyword or by a full search URL.

Credit cost: 1 credit per call

Autorisierung

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Abfrageparameter

query*string

Required. A keyword, or a full search URL on gsaelibrary.gsa.gov. The URL must contain searchResults.do or searchText=.

Example:

radar

URL example:

https://www.gsaelibrary.gsa.gov/ElibMain/searchResults.do?searchText=radar&searchType=allWords

Antworttext

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
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  }}