Overview

This API provides bulk tender data. Results are returned in pages using cursor-based pagination. Use the examples below to fetch a single page or loop through all available pages while respecting the rate limit.

Authentication

All requests require an API key sent in the X-API-KEY header (or as a Bearer token in some clients).

X-API-KEY: 7a2b9c4d8e5f6a1b2c3d4e5f6

Pagination

The API uses cursor-based pagination.

  • First pull: Do not send a cursor parameter.
  • Response: Always includes a cursor string and a data array.
  • Next page: Pass the returned cursor as a query parameter.
  • Stop: When data is empty or cursor is null/missing, there are no more pages.
https://api.bidsinfo.com/bulk-data-fetch.php?endpoint=data&cursor=WyIyMDI2LTA4LTA2IDE2OjQ5OjA0IiwiMzY4ODQyODgiXQ==

Rate Limit

Maximum 5 requests per minute

When looping through pages, wait approximately 12 seconds between requests to stay within the limit. Exceeding the limit may result in temporary blocking or error responses.

Endpoint

GET https://api.bidsinfo.com/bulk-data-fetch.php?endpoint=data

Query Parameters

Parameter Type Required Description
endpoint string Yes Must be data
cursor string No Pagination cursor from previous response. Omit on first request.

cURL

Single-page requests.

# First pull (no cursor)
curl -X GET "https://api.bidsinfo.com/bulk-data-fetch.php?endpoint=data" \
  -H "Authorization: Bearer 7a2b9c4d8e5f6a1b2c3d4e5f6"

# Next page
curl -X GET "https://api.bidsinfo.com/bulk-data-fetch.php?endpoint=data&cursor=WyIyMDI2LTA4LTA2IDE2OjQ5OjA0IiwiMzY4ODQyODgiXQ==" \
  -H "Authorization: Bearer 7a2b9c4d8e5f6a1b2c3d4e5f6"

# Save to file
curl -X GET "https://api.bidsinfo.com/bulk-data-fetch.php?endpoint=data" \
  -H "Authorization: Bearer 7a2b9c4d8e5f6a1b2c3d4e5f6" \
  -o output.json

PHP – Loop all pages

Fetches every page, respects the 5 req/min rate limit, and collects all records.

$base_url = "https://api.bidsinfo.com/bulk-data-fetch.php?endpoint=data";
$api_key  = "7a2b9c4d8e5f6a1b2c3d4e5f6";
$cursor   = null;
$all_data = [];

do {
    $url = $base_url;
    if ($cursor) {
        $url .= "&cursor=" . urlencode($cursor);
    }

    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_HTTPHEADER, [
        "X-API-KEY: $api_key"
    ]);
    $response = curl_exec($ch);

    if (curl_errno($ch)) {
        echo 'Request Error: ' . curl_error($ch);
        curl_close($ch);
        break;
    }
    curl_close($ch);

    $result = json_decode($response, true);
    $page   = $result['data'] ?? [];
    $cursor = $result['cursor'] ?? null;

    if (empty($page)) {
        break; // No more data
    }

    $all_data = array_merge($all_data, $page);
    echo "Fetched " . count($page) . " records. Total: " . count($all_data) . "\n";

    // Rate limit: max 5 requests/min → wait ~12 seconds
    if ($cursor) {
        sleep(12);
    }
} while ($cursor);

echo "Done. Total records: " . count($all_data) . "\n";
// print_r($all_data);

JavaScript – Loop all pages

Async loop with rate-limit delay.

const baseUrl = "https://api.bidsinfo.com/bulk-data-fetch.php?endpoint=data";
const apiKey  = "7a2b9c4d8e5f6a1b2c3d4e5f6";
let cursor    = null;
const allData = [];

function sleep(ms) {
    return new Promise(resolve => setTimeout(resolve, ms));
}

async function fetchAllPages() {
    do {
        const url = cursor
            ? `${baseUrl}&cursor=${encodeURIComponent(cursor)}`
            : baseUrl;

        try {
            const response = await fetch(url, {
                method: "GET",
                headers: {
                    "X-API-KEY": apiKey,
                    "Content-Type": "application/json"
                }
            });
            const result = await response.json();

            if (!response.ok) {
                console.error(`Error (${response.status}): ${result.error || 'Unknown error'}`);
                break;
            }

            const page = result.data || [];
            cursor = result.cursor || null;

            if (page.length === 0) break;

            allData.push(...page);
            console.log(`Fetched ${page.length} records. Total: ${allData.length}`);

            // Rate limit: max 5 requests/min → wait ~12 seconds
            if (cursor) {
                await sleep(12000);
            }
        } catch (err) {
            console.error(`Network Error: ${err.message}`);
            break;
        }
    } while (cursor);

    console.log(`Done. Total records: ${allData.length}`);
    return allData;
}

// Usage
fetchAllPages().then(data => {
    // process data
});

Sample Response

{
  "cursor": "WyIyMDI2LTA4LTA2IDE2OjQ5OjA0IiwiMzY4ODQyODgiXQ==",
  "data": [
    {
      "refno": "26890695",
      "tenderno": "GE/ASR-32/2025-26",
      "company": "E-IN-C BRANCH - MILITARY ENGINEER SERVICES",
      "address": "Central Govt. Ministry/Department\nGarrison Engineer Amritsar Cantt Pin 143001\nAttn: Ge Amritsar",
      "email": "",
      "website": "",
      "country": "IN",
      "location": "IN",
      "local": "ICB",
      "title": "Certain Repair to Jcos Ors Md Accn under Age B R I at Amritsar Cantt",
      "description": "Tenders are invited for Certain Repair to Jcos Ors Md Accn under Age B R I at Amritsar Cantt\n\nWork Description: Certain Repair to Jcos Ors Md Accn under Age B R I at Amritsar Cantt\n\nTender Type: Open/Advertised\nTender Category: Works\nProduct Category: Civil Works\nLocation: Ge Amritsar\n\nTender Fee: 500\nEMD: 98000\n\nBid Opening Date: 29-Jul-2025 12:00 PM\nDocument Download Start Date: 05-Jul-2025 12:00 PM\nDocument Download End Date: 22-Jul-2025 06:00 PM\nBid Submission Start Date: 15-Jul-2025 12:00 PM\nBid Submission End Date: 22-Jul-2025 06:00 PM",
      "postdate": "2025-07-05",
      "deadline": "2025-07-22",
      "currency": "",
      "value": "0",
      "documents": "-IN1~20250705-46431239.html",
      "funding": "No",
      "tendertype": "Works",
      "industry": "Construction & related works"
    },
    {
      "refno": "26890694",
      "tenderno": "BSP_2025-26_07",
      "company": "MUNICIPAL BOS",
      "address": "State Govt. and UT\nBasudevpur Municipality\nAttn: Eo",
      "email": "",
      "website": "",
      "country": "IN",
      "location": "IN",
      "local": "ICB",
      "title": "Const of Paver Road from Nanda Nayak House towards Bhikari Nayak House in Ward No.4",
      "description": "Tenders are invited for Const of Paver Road from Nanda Nayak House towards Bhikari Nayak House in Ward No.4\n\nWork Description: Const of Paver Road from Nanda Nayak House towards Bhikari Nayak House in Ward No.4\n\nTender Type: Open/Advertised\nTender Category: Works\nProduct Category: Civil Works - Roads\nLocation: Basudevpur Municipality\n\nTender Fee: ₹ 2000\nEMD: ₹ 3205\n\nBid Opening Date: 14-Jul-2025 11:00 AM\nDocument Download Start Date: 05-Jul-2025 10:00 AM\nDocument Download End Date: 11-Jul-2025 05:00 PM\nBid Submission Start Date: 05-Jul-2025 10:00 AM\nBid Submission End Date: 11-Jul-2025 05:00 PM",
      "postdate": "2025-07-05",
      "deadline": "2025-07-11",
      "currency": "",
      "value": "0",
      "documents": "-IN1~20250705-46431238.html",
      "funding": "No",
      "tendertype": "Works",
      "industry": "Transport services;Construction & related works"
    },
    {
      "refno": "26890693",
      "tenderno": "CW/CE/174/2024-25",
      "company": "SOLAPUR MUNICIPAL CORPORATION",
      "address": "State Govt. and UT\nCity Engineer\nAttn: City Engineer",
      "email": "",
      "website": "",
      "country": "IN",
      "location": "IN",
      "local": "ICB",
      "title": "Constructing Concrete Road in Dakshin-Uttar Vidhansabha Matdar Sangh under Nagri Dalittetar Wasti Sudharna Yojna Year 2024-25",
      "description": "Tenders are invited for Constructing Concrete Road in Dakshin-Uttar Vidhansabha Matdar Sangh under Nagri Dalittetar Wasti Sudharna Yojna Year 2024-25\n\nWork Description: Constructing Concrete Road in Dakshin-Uttar Vidhansabha Matdar Sangh under Nagri Dalittetar Wasti Sudharna Yojna Year 2024-25\n\nTender Type: Open/Advertised\nTender Category: Works\nProduct Category: Civil Works - Roads\nLocation: Solapur\n\nTender Fee: ₹ 1700\nEMD: ₹ 150000\n\nBid Opening Date: 15-Jul-2025 04:00 PM\nDocument Download Start Date: 05-Jul-2025 10:00 AM\nDocument Download End Date: 14-Jul-2025 01:00 PM\nBid Submission Start Date: 05-Jul-2025 10:00 AM\nBid Submission End Date: 14-Jul-2025 01:00 PM",
      "postdate": "2025-07-05",
      "deadline": "2025-07-14",
      "currency": "",
      "value": "0",
      "documents": "-IN1~20250705-46431240.html",
      "funding": "No",
      "tendertype": "Works",
      "industry": "Transport services;Construction & related works"
    },
    {
      "refno": "26890690",
      "tenderno": "E-Tender 10 of Pw RnB Division Sankoo 2025-26 Dated 04-07-2025",
      "company": "PUBLIC WORKS DEPARTMENT",
      "address": "State Govt. and UT\nEe Rnb Division Sankoo\nAttn: Ee Rnb Division Sankoo",
      "email": "",
      "website": "",
      "country": "IN",
      "location": "IN",
      "local": "ICB",
      "title": "Construction of Ice Hockey Rink at Shakoq G.M.Pore",
      "description": "Tenders are invited for Construction of Ice Hockey Rink at Shakoq G.M.Pore\n\nWork Description: Construction of Ice Hockey Rink at Shakoq G.M.Pore\n\nTender Type: Open/Advertised\nTender Category: Works\nProduct Category: Civil Works - Others\nLocation: Location\n\nTender Fee: ₹ 1930\nEMD: ₹ 386000\n\nBid Opening Date: 15-Jul-2025 02:00 PM\nDocument Download Start Date: 05-Jul-2025 10:00 AM\nDocument Download End Date: 14-Jul-2025 12:00 PM\nBid Submission Start Date: 05-Jul-2025 10:00 AM\nBid Submission End Date: 14-Jul-2025 12:00 PM",
      "postdate": "2025-07-05",
      "deadline": "2025-07-14",
      "currency": "",
      "value": "0",
      "documents": "-IN1~20250705-46431233.html",
      "funding": "No",
      "tendertype": "Works",
      "industry": "Construction & related works"
    },
    {
      "refno": "26890689",
      "tenderno": "94234/MRT/2025-26/E8",
      "company": "E-IN-C BRANCH - MILITARY ENGINEER SERVICES",
      "address": "Central Govt. Ministry/Department\n29j the Mall Road Meerut Cantt Uttar Pradesh 250001\nAttn: Hq Cwe Meerut",
      "email": "",
      "website": "",
      "country": "IN",
      "location": "IN",
      "local": "ICB",
      "title": "Repair/Maint of Ht Oh Line with Ug Cable and Allied Works in North Area under Age E/M Elect Supply at Ge (U) Meerut Cantt",
      "description": "Tenders are invited for Repair/Maint of Ht Oh Line with Ug Cable and Allied Works in North Area under Age E/M Elect Supply at Ge (U) Meerut Cantt\n\nWork Description: Repair/Maint of Ht Oh Line with Ug Cable and Allied Works in North Area under Age E/M Elect Supply at Ge (U) Meerut Cantt\n\nTender Type: Open/Advertised\nTender Category: Works\nProduct Category: Civil Works\nLocation: Meerut Cantt\n\nTender Fee: 1000\nEMD: 145000\n\nBid Opening Date: 02-Aug-2025 12:00 PM\nDocument Download Start Date: 05-Jul-2025 12:00 PM\nDocument Download End Date: 28-Jul-2025 05:00 PM\nBid Submission Start Date: 21-Jul-2025 03:00 PM\nBid Submission End Date: 28-Jul-2025 05:00 PM",
      "postdate": "2025-07-05",
      "deadline": "2025-07-28",
      "currency": "",
      "value": "0",
      "documents": "-IN1~20250705-46431232.html",
      "funding": "No",
      "tendertype": "Works",
      "industry": "Construction & related works"
    },
    {
      "refno": "26890688",
      "tenderno": "BSP_2025-26_07",
      "company": "MUNICIPAL BOS",
      "address": "State Govt. and UT\nBasudevpur Municipality\nAttn: Eo",
      "email": "",
      "website": "",
      "country": "IN",
      "location": "IN",
      "local": "ICB",
      "title": "Const of Paver Road from Upa Das House towards Digambar Das House in Ward No.9",
      "description": "Tenders are invited for Const of Paver Road from Upa Das House towards Digambar Das House in Ward No.9\n\nWork Description: Const of Paver Road from Upa Das House towards Digambar Das House in Ward No.9\n\nTender Type: Open/Advertised\nTender Category: Works\nProduct Category: Civil Works - Roads\nLocation: Basudevpur Municipality\n\nTender Fee: ₹ 2000\nEMD: ₹ 3068\n\nBid Opening Date: 14-Jul-2025 11:00 AM\nDocument Download Start Date: 05-Jul-2025 10:00 AM\nDocument Download End Date: 11-Jul-2025 05:00 PM\nBid Submission Start Date: 05-Jul-2025 10:00 AM\nBid Submission End Date: 11-Jul-2025 05:00 PM",
      "postdate": "2025-07-05",
      "deadline": "2025-07-11",
      "currency": "",
      "value": "0",
      "documents": "-IN1~20250705-46431236.html",
      "funding": "No",
      "tendertype": "Works",
      "industry": "Transport services;Construction & related works"
    },
    {
      "refno": "26890687",
      "tenderno": "84493 CE BTZ/BKN/TOKEN-24 OF 2025-26",
      "company": "E-IN-C BRANCH - MILITARY ENGINEER SERVICES",
      "address": "Central Govt. Ministry/Department\nHq Ce Bathinda Zone, Bathinda Mil Stn-151004\nAttn: Ce Bathinda Zone",
      "email": "",
      "website": "",
      "country": "IN",
      "location": "IN",
      "local": "ICB",
      "title": "Construction of Tech Infra and Allied Services at Bikaner and Mffr under Ge P Bikaner Phase Ii of Ii Phases on Epc Mode",
      "description": "Tenders are invited for Construction of Tech Infra and Allied Services at Bikaner and Mffr under Ge P Bikaner Phase Ii of Ii Phases on Epc Mode\n\nWork Description: Construction of Tech Infra and Allied Services at Bikaner and Mffr under Ge P Bikaner Phase Ii of Ii Phases on Epc Mode\n\nTender Type: Open/Advertised\nTender Category: Works\nProduct Category: Civil Works\nLocation: Ge (P) Bikaner\n\nTender Fee: 3000\nEMD: 1500000\n\nBid Opening Date: 13-Aug-2025 11:00 AM\nDocument Download Start Date: 05-Jul-2025 12:00 PM\nDocument Download End Date: 11-Aug-2025 06:00 PM\nBid Submission Start Date: 04-Aug-2025 11:00 AM\nBid Submission End Date: 11-Aug-2025 06:00 PM",
      "postdate": "2025-07-05",
      "deadline": "2025-08-11",
      "currency": "",
      "value": "0",
      "documents": "-IN1~20250705-46431235.html",
      "funding": "No",
      "tendertype": "Works",
      "industry": "Construction & related works"
    },
    {
      "refno": "26890686",
      "tenderno": "AED-12/2025-26",
      "company": "HPSEBL",
      "address": "State Govt. and UT\nElectrical Division Hpsebl,Ani\nAttn: Sr Executive Engineer",
      "email": "",
      "website": "",
      "country": "IN",
      "location": "IN",
      "local": "ICB",
      "title": "Aed-12/2025-26",
      "description": "Tenders are invited for Aed-12/2025-26\n\nWork Description: Tender for Re-Routing of Existing 22kv Ht Line Ratho Khegsu and 3phase Lt Line at Moongri Due to 220kv Zebra Transmission Line Passing over the 22kv Ht Line 3phase Lt Line in (E) Section Luhri under Esd,Neether\n\nTender Type: Open/Advertised\nTender Category: Services\nProduct Category: Supply, Erection, Commissioning Services\nLocation: Luhri\n\nTender Fee: ₹ 590\nEMD: ₹ 6077\n\nBid Opening Date: 14-Jul-2025 02:30 PM\nDocument Download Start Date: 05-Jul-2025 10:00 AM\nDocument Download End Date: 14-Jul-2025 12:00 PM\nBid Submission Start Date: 05-Jul-2025 10:00 AM\nBid Submission End Date: 14-Jul-2025 12:00 PM",
      "postdate": "2025-07-05",
      "deadline": "2025-07-14",
      "currency": "",
      "value": "0",
      "documents": "-IN1~20250705-46431231.html",
      "funding": "No",
      "tendertype": "Service",
      "industry": ""
    },
    {
      "refno": "26890684",
      "tenderno": "BSP_2025-26_07",
      "company": "MUNICIPAL BOS",
      "address": "State Govt. and UT\nBasudevpur Municipality\nAttn: Eo",
      "email": "",
      "website": "",
      "country": "IN",
      "location": "IN",
      "local": "ICB",
      "title": "Const of Paver Road from Main Road towards Raghu Kala House in Ward No2",
      "description": "Tenders are invited for Const of Paver Road from Main Road towards Raghu Kala House in Ward No2\n\nWork Description: Const of Paver Road from Main Road towards Raghu Kala House in Ward No2\n\nTender Type: Open/Advertised\nTender Category: Works\nProduct Category: Civil Works - Roads\nLocation: Basudevpur Municipality\n\nTender Fee: ₹ 600\nEMD: ₹ 1975\n\nBid Opening Date: 14-Jul-2025 11:00 AM\nDocument Download Start Date: 05-Jul-2025 10:00 AM\nDocument Download End Date: 11-Jul-2025 05:00 PM\nBid Submission Start Date: 05-Jul-2025 10:00 AM\nBid Submission End Date: 11-Jul-2025 05:00 PM",
      "postdate": "2025-07-05",
      "deadline": "2025-07-11",
      "currency": "",
      "value": "0",
      "documents": "-IN1~20250705-46431229.html",
      "funding": "No",
      "tendertype": "Works",
      "industry": "Transport services;Construction & related works"
    },
    {
      "refno": "26890682",
      "tenderno": "984/2025/A2 Dt.23.06.2025",
      "company": "RURAL DEVELOPMENT AND PANCHAYAT RAJ DEPARTMENT",
      "address": "State Govt. and UT\nPanchayat Union Office Sriperumbudur\nAttn: Bdo (Vp)",
      "email": "",
      "website": "",
      "country": "IN",
      "location": "IN",
      "local": "ICB",
      "title": "Providing Paver Block Road to Bethalamman Koil Street at Gunduperumbedu Panchayat in Sriperumbudur Panchayat Union.",
      "description": "Tenders are invited for Providing Paver Block Road to Bethalamman Koil Street at Gunduperumbedu Panchayat in Sriperumbudur Panchayat Union.\n\nWork Description: Providing Paver Block Road to Bethalamman Koil Street at Gunduperumbedu Panchayat in Sriperumbudur Panchayat Union.\n\nTender Type: Open/Advertised\nTender Category: Works\nProduct Category: Civil Works - Roads\nLocation: Sriperumbudur\n\nEMD: ₹ 18180\n\nBid Opening Date: 11-Jul-2025 04:00 PM\nDocument Download Start Date: 05-Jul-2025 10:00 AM\nDocument Download End Date: 11-Jul-2025 03:00 PM\nBid Submission Start Date: 05-Jul-2025 10:00 AM\nBid Submission End Date: 11-Jul-2025 03:00 PM",
      "postdate": "2025-07-05",
      "deadline": "2025-07-11",
      "currency": "",
      "value": "0",
      "documents": "-IN1~20250705-46431226.html",
      "funding": "No",
      "tendertype": "Works",
      "industry": "Transport services;Construction & related works"
    }
  ]
}

Response Fields

Field Type Description
cursor string Opaque token for the next page. Pass it as the cursor query param.
data array Array of tender records for the current page.
data[].erefno integer Unique reference number for the tender.
data[].doctype string Document type (e.g. "Tender").
data[].company string Issuing organization / department.
data[].address string Organization address.
data[].email string Contact email (may be empty).
data[].website string Organization website (may be empty).
data[].country string Country code (e.g. "IN").
data[].location string Location code.
data[].tender_no string Official tender / notice number.
data[].title string Tender title.
data[].description string Full description including dates, fees, category, etc.
data[].deadline string Bid submission deadline (YYYY-MM-DD).
data[].value number Estimated value (0 if not specified).
data[].currency string Currency code (may be empty).
data[].local string Local / ICB indicator.
data[].funding string Funding information (e.g. "No").