Home » API Documentation

Tenders API Documentation

Overview:

The TendersOnTime API is a REST-based service that allows users to retrieve tender data strictly based on the tender posting date.

This API is designed for daily data synchronization. Users are expected to pull tender data for a specific posting date, store it in their own database, and apply any additional filters or business logic within their own application.

All keywords, regions, and classification filters are pre-configured and managed at the TendersOnTime backend based on mutually finalized requirements.


Base URL:
https://tmproject.tendersontime.org/tmpApi/tender-pull-json-tot.php


Authentication:

Authentication is mandatory for all requests.

username (required): Your API username.

key (required): Your API key for authentication.


Endpoints:

  1. Retrieve Tenders by Date
  2. Retrieve all tenders posted on a specific date.

    • Method: GET
    • Endpoint: /tender-pull-json-tot.php
    • Parameters:
    •  Request Fields   Field type   Field Description 
      usernamestringrequired, Your API username.
      keystringrequired, Your API key for authentication.
      datestringrequired, Date of posting in YYYY-MM-DD format.

      The API does not accept any additional filters apart from the date parameter.

      Keyword, region, and category filtering is handled internally at the backend.

    • Success Response:
      • Status: 200 OK
      • Content-Type: application/json
      • Body:
      • JSON
        {
          "status": "success",
          "message": "tender success",
          "posting_date": "YYYY-MM-DD",
          "total": 00,
          "data": [
            {
              // Tender data object
            }
          ]
        }
        

    • Error Response:
      • Status: 400 Bad Request
      • Content-Type: application/json
      • Body:
      • JSON
        {
          "status": "error",
          "message": "Error Message",
          "data": []
        }
        


Sample Request:

GET
https://tmproject.tendersontime.org/tmpApi/tender-pull-json-tot.php?username=tot&key=sd5dsg6s4gj5y&date=2024-01-18
  Copy

Sample Response:

JSON
{
  "status": "success",
  "message": "tender success",
  "posting_date": "2024-01-18",
  "total": 20,
  "data": [
    {
      // Tender data object
    },
    {
      // Tender data object
    },
    ...
  ]
}

Recommended Data Synchronization Strategy

To ensure timely and complete tender data coverage, we recommend the following synchronization approach:

  • Newly published tenders are synchronized to the API backend at a maximum interval of every 3 hours. To keep your system up to date, you may pull current-day tender data every 3 hours using the current posting date.
  • This periodic pull ensures that any tenders published throughout the day are captured in near real-time within your system.
  • On the following day, we strongly recommend performing one final pull for the previous day’s posting date. This ensures that all tenders published on that day—including any late updates—are fully retrieved and stored in your database.

Notes:

  • Ensure to use valid credentials (username and key) for authentication.
  • Handle error responses gracefully by checking the status and message fields in the response.
  • In the provided Sample API endpoint for fetching tender data is not based on date parameter in this API documentation.

Frequently Asked Questions (FAQs)

Q1. About the TenderOnTime API

The TenderOnTime API is a REST API designed to fetch/pull tender-related data from the TenderOnTime database.
The API is primarily used for retrieving tender and contract award information available in the TenderOnTime database.

Q2. Can we provide our own keywords or queries?

Yes. The API can be configured based on the keywords provided by you. These keywords are preconfigured according to your business requirements, so you do not need to submit them with every API request. You can request changes or updates to your configured keywords whenever required. Our Query Builder team can also assist you in identifying and configuring relevant keywords based on your industry and specific interests.

Q3. How many keywords can be configured under the proposed subscription?

Up to 2,000 keywords can be configured under the proposed subscription.

Q4. Can keywords be added or modified during the subscription period?

Yes. Keywords can be added, removed, or modified during the subscription period according to your line of business and requirements.

Q5. What are the Daily API Hit Limit / Rate Limits?

The default API limit is 25 API calls per day.
The tender data is synchronized approximately every 3 hours. Therefore, making multiple API requests within the same synchronization period may return the same data if no new information has been added or updated.
The API request limit may be increased based on specific requirements and subject to approval.

Q6. Is there a limit on the number of tender records returned in a single API request?

Yes. A single API request can return up to 2,000 tender records, depending on the query parameters and the number of matching records available.

Q7. What types of filters are available in the API?

The API currently supports date-based filtering.
Country-wise filtering may also be available using the country ISO code, but this functionality is applicable only to supported/limited countries and is not available globally.
The API also provides filtering options to access live and archived tender data.

Q8. What is the API response format?

The API returns data in JSON format.

Q9. Are documents available through the API?

Yes. Tender-related documents/attachments are available through the API where they are provided by the respective issuing authority/source.

Q10. Why are some fields blank in the API response?

The API displays the information available from the respective issuing authority/source.
If a particular detail has not been provided by the issuing authority, the corresponding field may be blank or empty in the API response.
The API does not create or modify information that is not available in the source data.

Q11. Can we receive separate fields for specific information such as email, contact details, etc.?

No. The API does not modify or restructure the original data specifically for individual customers.
The data is provided according to the existing data structure and information available in the TenderOnTime database.

Q12. How frequently is the data updated?

The data is synchronized approximately every 3 hours.
In general, data is available within 24 hours, depending on the source portal and the data-processing/QC process.

Q13. How far back can historical tender and award data be retrieved?

The API provides tender data from 2014 onwards.
The available historical data depth is applicable to both live tender data and completed/awarded tender data.

Q14. Is pagination supported by the API?

No. Pagination is not currently supported.
Tender records are returned in descending order, with the newest tenders appearing first.
For integration purposes, it is recommended to use the unique Tender ID to identify and prevent duplicate records when storing or processing API data.

Q15. Is a corrigendum treated as an update to the existing tender or as a new entry?

A corrigendum is inserted as a new entry in the API data.
Therefore, the original tender and its corrigendum may appear as separate records.

Q16. How can we identify whether a record is a corrigendum / re-published tender?

For corrigendum records, the summary begins with an indication that the record is a corrigendum, allowing users to identify it from the API response.

Q17. Is contract data available through the API?

Yes. Contract data is available through the API, including during the free trial, subject to the applicable trial limitations.

Q18. Can the full tender text be delivered instead of a shortened version?

The API provides:
• Description: Up to 1,500 characters • Summary: Up to 200 characters If additional information or the complete tender details are required, users
can refer to the notice/tender document link provided in the API response.

Q19. What security mechanisms are provided for the API?

The API is secured using:
• API Key authentication
• IP address whitelisting (Up to 10 IP addresses can be whitelisted)
These mechanisms help ensure that API access is restricted to authorized users and systems.

Q20. Free Trial API Limitations

Free Trial limitations include:
• Maximum records per API response: 20 records
• Daily API calls: 25 calls per day
• Data available: Up to 1 day prior to the current date
• Contract data: Available subject to trial limitations

Call Action

Get A Callback Within 24 Hours

Fill form below to get callback from Tender Experts.

Captcha

Click button to send your details.