Piloterr Gsaelibrary API

The Gsaelibrary API from Piloterr — 2 operation(s) for gsaelibrary.

GitHub OpenAPI

Operations 4

GET /v2/gsaelibrary/contract GSA eLibrary Contract #
POST /v2/gsaelibrary/contract GSA eLibrary Contract #
POST /v2/gsaelibrary/search GSA eLibrary Search #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/piloterr-com:piloterr-com-gsaelibrary-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

piloterr-com-gsaelibrary-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Piloterr API Reference Gsaelibrary API
  description: Complete API reference documentation.
  version: 1.0.0
servers:
- url: https://api.piloterr.com
  description: API Server
tags:
- name: Gsaelibrary
paths:
  /v2/gsaelibrary/contract:
    get:
      summary: GSA eLibrary Contract
      description: 'Read one GSA eLibrary contractor record from the contract URL returned by search.


        **Credit cost:** 1 credit per call'
      operationId: get-gsaelibrary-contract
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: 'Required. The contractorInfo.do URL from a search contract row. A contract number is also accepted, but GS-07F-0239T alone currently returns 404 because GSA needs the contractor name that search includes in the URL.


          **Example:**


          ```

          https://www.gsaelibrary.gsa.gov/ElibMain/contractorInfo.do?contractNumber=GS-07F-0239T&contractorName=US+RADAR+INC&executeQuery=YES

          ```'
        schema:
          type: string
          description: 'Required. The contractorInfo.do URL from a search contract row. A contract number is also accepted, but GS-07F-0239T alone currently returns 404 because GSA needs the contractor name that search includes in the URL.


            **Example:**


            ```

            https://www.gsaelibrary.gsa.gov/ElibMain/contractorInfo.do?contractNumber=GS-07F-0239T&contractorName=US+RADAR+INC&executeQuery=YES

            ```'
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                  epls:
                    type: string
                  email:
                    type: string
                  phone:
                    type: string
                  address:
                    type: string
                  sam_uei:
                    type: string
                  website:
                    type: string
                  terms_url:
                    nullable: true
                  categories:
                    type: array
                    items:
                      type: object
                      properties:
                        sin:
                          type: string
                        name:
                          type: string
                  schedule_name:
                    type: string
                  socio_economic:
                    type: string
                  contract_number:
                    type: string
                  contractor_name:
                    type: string
                  schedule_number:
                    type: string
                  government_poc_name:
                    type: string
                  government_poc_email:
                    type: string
                  government_poc_phone:
                    type: string
                  current_option_period_end_date:
                    type: string
              examples:
                US RADAR INC:
                  value:
                    url: https://www.gsaelibrary.gsa.gov/ElibMain/contractorInfo.do?contractNumber=GS-07F-0239T&contractorName=US+RADAR+INC&executeQuery=YES
                    epls: Contractor not found on the Excluded Parties List System
                    email: ron@usradar.com
                    phone: 732-566-2035
                    address: 173 AMBOY RD, MORGANVILLE, NJ 07751-1003
                    sam_uei: TL26M1812HG4
                    website: http://usradar.com
                    terms_url: null
                    categories:
                    - sin: '334515'
                      name: Diagnostic, Measuring and Testing Equipment
                    schedule_name: Multiple Award Schedule
                    socio_economic: Small Business
                    contract_number: GS-07F-0239T
                    contractor_name: US RADAR INC
                    schedule_number: MAS
                    government_poc_name: Brian Buffett
                    government_poc_email: brian.buffett@gsa.gov
                    government_poc_phone: 470-496-9410
                    current_option_period_end_date: Feb 14, 2027
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Gsaelibrary
    post:
      summary: GSA eLibrary Contract
      description: 'Read one GSA eLibrary contractor record from the contract URL returned by search.


        **Credit cost:** 1 credit per call'
      operationId: post-gsaelibrary-contract
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: 'Required. The contractorInfo.do URL from a search contract row. A contract number is also accepted, but GS-07F-0239T alone currently returns 404 because GSA needs the contractor name that search includes in the URL.


                    **Example:**


                    ```

                    https://www.gsaelibrary.gsa.gov/ElibMain/contractorInfo.do?contractNumber=GS-07F-0239T&contractorName=US+RADAR+INC&executeQuery=YES

                    ```'
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                  epls:
                    type: string
                  email:
                    type: string
                  phone:
                    type: string
                  address:
                    type: string
                  sam_uei:
                    type: string
                  website:
                    type: string
                  terms_url:
                    nullable: true
                  categories:
                    type: array
                    items:
                      type: object
                      properties:
                        sin:
                          type: string
                        name:
                          type: string
                  schedule_name:
                    type: string
                  socio_economic:
                    type: string
                  contract_number:
                    type: string
                  contractor_name:
                    type: string
                  schedule_number:
                    type: string
                  government_poc_name:
                    type: string
                  government_poc_email:
                    type: string
                  government_poc_phone:
                    type: string
                  current_option_period_end_date:
                    type: string
              examples:
                US RADAR INC:
                  value:
                    url: https://www.gsaelibrary.gsa.gov/ElibMain/contractorInfo.do?contractNumber=GS-07F-0239T&contractorName=US+RADAR+INC&executeQuery=YES
                    epls: Contractor not found on the Excluded Parties List System
                    email: ron@usradar.com
                    phone: 732-566-2035
                    address: 173 AMBOY RD, MORGANVILLE, NJ 07751-1003
                    sam_uei: TL26M1812HG4
                    website: http://usradar.com
                    terms_url: null
                    categories:
                    - sin: '334515'
                      name: Diagnostic, Measuring and Testing Equipment
                    schedule_name: Multiple Award Schedule
                    socio_economic: Small Business
                    contract_number: GS-07F-0239T
                    contractor_name: US RADAR INC
                    schedule_number: MAS
                    government_poc_name: Brian Buffett
                    government_poc_email: brian.buffett@gsa.gov
                    government_poc_phone: 470-496-9410
                    current_option_period_end_date: Feb 14, 2027
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Gsaelibrary
  /v2/gsaelibrary/search:
    get:
      summary: GSA eLibrary Search
      description: 'Search GSA eLibrary for schedule, SIN, and contract rows by keyword or by a full search URL.


        **Credit cost:** 1 credit per call'
      operationId: get-gsaelibrary-search
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: '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

          ```'
        schema:
          type: string
          description: '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

            ```'
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        sin:
                          nullable: true
                        url:
                          type: string
                        name:
                          type: string
                        category:
                          type: string
                        description:
                          nullable: true
                        result_type:
                          type: string
                        schedule_name:
                          type: string
                        contract_number:
                          type: string
                        schedule_number:
                          type: string
                  pagination:
                    type: object
                    properties:
                      next:
                        nullable: true
                      page:
                        type: integer
                      per_page:
                        type: integer
                      total_pages:
                        type: integer
                      total_results:
                        type: integer
              examples:
                US RADAR INC:
                  value:
                    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
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Gsaelibrary
    post:
      summary: GSA eLibrary Search
      description: 'Search GSA eLibrary for schedule, SIN, and contract rows by keyword or by a full search URL.


        **Credit cost:** 1 credit per call'
      operationId: post-gsaelibrary-search
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: '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

                    ```'
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        sin:
                          nullable: true
                        url:
                          type: string
                        name:
                          type: string
                        category:
                          type: string
                        description:
                          nullable: true
                        result_type:
                          type: string
                        schedule_name:
                          type: string
                        contract_number:
                          type: string
                        schedule_number:
                          type: string
                  pagination:
                    type: object
                    properties:
                      next:
                        nullable: true
                      page:
                        type: integer
                      per_page:
                        type: integer
                      total_pages:
                        type: integer
                      total_results:
                        type: integer
              examples:
                US RADAR INC:
                  value:
                    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
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Gsaelibrary
components:
  parameters:
    fields:
      name: fields
      in: query
      required: false
      description: Comma-separated list of response fields to return, with dot notation for nested fields (e.g. `name,location.city`).
      schema:
        type: string
    is_async:
      name: is_async
      in: query
      required: false
      description: 'Run the request as a background job: the API answers `202` with a `job_id` to poll on `GET /v1/jobs/{id}`.'
      schema:
        type: boolean
        default: false
    soft_fail:
      name: soft_fail
      in: query
      required: false
      description: Return HTTP 200 even when the request fails; the error is in the `error` field of the body.
      schema:
        type: boolean
        default: false
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable error message.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your API key. Include it in the x-api-key header for every request.