其他

波兰招标数据API

提供波兰采购招标数据的JSON格式接口,支持实时获取招标公告、供应商信息和采购详情。适用于市场分析、竞标监测和商业智能应用。

查看官方文档 ↗

接入教程

1. 注册Tenders.guru账号获取API密钥
2. 使用API端点https://tenders.guru/pl/api调用数据
3. 设置查询参数(如日期范围、采购类别)
4. 解析返回的JSON数据
5. 集成到您的分析系统或应用程序中
6. 定期更新数据以保持信息时效性

使用Python获取招标列表

python
import requests

url = "https://api.tenders.guru/pl/api/tenders"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
}
params = {
    "limit": 10,
    "offset": 0
}

response = requests.get(url, headers=headers, params=params)
if response.status_code == 200:
    tenders = response.json()
    print(f"Found {len(tenders['data'])} tenders")
    for tender in tenders['data']:
        print(f"Title: {tender['title']}")
else:
    print(f"Error: {response.status_code}", response.text)

使用PHP查询招标详情

php
<?php

$url = "https://api.tenders.guru/pl/api/tenders/12345";
$apiKey = "YOUR_API_KEY";

$options = [
    'http' => [
        'method' => 'GET',
        'header' => "Authorization: Bearer $apiKey\r\n" .
                    "Content-Type: application/json\r\n"
    ]
];

$context = stream_context_create($options);
$response = file_get_contents($url, false, $context);

if ($response !== false) {
    $tender = json_decode($response, true);
    echo "Tender ID: " . $tender['id'] . "\n";
    echo "Description: " . $tender['description'] . "\n";
} else {
    echo "Failed to fetch tender details";
}

?>

使用JavaScript搜索招标数据

javascript
const url = 'https://api.tenders.guru/pl/api/tenders/search';
const apiKey = 'YOUR_API_KEY';

async function searchTenders(keyword) {
    const response = await fetch(`${url}?q=${encodeURIComponent(keyword)}`, {
        method: 'GET',
        headers: {
            'Authorization': `Bearer ${apiKey}`,
            'Content-Type': 'application/json'
        }
    });
    
    if (response.ok) {
        const data = await response.json();
        console.log(`Found ${data.total} results`);
        data.items.forEach(tender => {
            console.log(`- ${tender.title} (${tender.published_date})`);
        });
    } else {
        console.error('Search failed:', response.status);
    }
}

// Example usage
searchTenders('construction');

常见问题

如何获取API访问密钥?

请访问官方网站 https://tenders.guru/pl/api 注册账户并生成API密钥。免费套餐提供有限的请求额度,如需更高配额请升级到付费计划。

API支持哪些数据筛选参数?

API支持多种筛选参数,包括日期范围(published_from, published_to)、采购类型(procurement_type)、地区(region)、关键词搜索(q)和分页参数(limit, offset)。具体参数请参考官方文档。

数据更新频率是多少?

招标数据实时更新,新发布的招标公告通常在30分钟内同步到API中。历史数据可追溯至过去5年,具体取决于您的订阅套餐级别。

相似接口推荐

AWS SSO Identity Store

AWS SSO Identity Store是AWS IAM Identity Center(原AWS单点登录)使用的身份存储服务,提供一个统一的位置检索所有身份信息(用户和群组)。该服务简化了身份管理流程,帮助集中管理

待确认
Amazon Honeycode

Amazon Honeycode是一项全托管服务,让您无需编程即可快速为团队构建移动和Web应用。可用于管理项目、客户、运营、审批、资源乃至团队协作等各类事务。

待确认
AWS Glue

AWS Glue 是一项完全托管的提取、转换和加载(ETL)服务,可简化数据准备和集成工作。它自动发现、编目数据,并支持在数据湖和数据仓库之间进行ETL操作。

待确认
亚马逊Glacier

亚马逊S3 Glacier(简称Glacier)是一款针对“冷数据”的存储解决方案。这项超低成本的存储服务为数据备份和归档提供安全、持久且易于使用的存储方案。用户可经济高效地存储数据数月、数年甚至数十年。

待确认