目录收录

US Presidential Election Data by TogaTech API

Basic candidate data and live electoral vote counts for top two parties in US presidential election. US Presidential Election Data by TogaTech 是一个免费公开 API,目录收录,免费使用。

免费 API 目录收录 无需认证 CORS: No
来源类型
目录收录
可用方式
免费可用
认证方式
无需认证
协议格式
REST
计费摘要
免费为主
稳定性说明
以来源方说明为准
面向 Agent

如何调用 US Presidential Election Data by TogaTech API

供 Hermes、OpenClaw、浏览器自动化 Agent 等读取。优先解析 <head>#boyapi-agent-spec JSON。

Hermes OpenClaw Coding Agent Browser Agent
  1. 1. 确认调用目标

    业务请求发往 https://api.uselection.togatech.org,不要向 boyapi.com 发送 US Presidential Election Data by TogaTech 业务 API。

  2. 2. 构造 HTTP 请求
    • 方法:GET
    • 路径:/
    • 鉴权:无需 API Key
  3. 3. 最小可执行示例

    复制以下 cURL 试调:

    curl -sS 'https://uselection.togatech.org/'
  4. 4. 解析响应

    解析返回的 JSON 数据,具体字段请参阅官方文档。

  5. 5. 环境与限制

    CORS:No。浏览器联调以实际结果为准。

机器可读规范(JSON)

application/json · #boyapi-agent-spec
{
  "spec_version": "1.0",
  "page_type": "boyapi_api_detail",
  "api": {
    "slug": "us-presidential-election-data-by-togatech",
    "name": "US Presidential Election Data by TogaTech"
  },
  "invocation": {
    "method": "GET",
    "base_url": "https://api.uselection.togatech.org",
    "path": "/",
    "full_url_example": "https://api.uselection.togatech.org/"
  }
}

完整字段以 <head>#boyapi-agent-spec 为准。

Agent 注意:boyapi.com 仅提供目录与文档,不提供第三方 API 代理网关。
接入信息

可用方式

目录定位
免费目录收录(public-apis)
认证要求
无需认证(auth=No)
HTTPS
支持(https=Yes)
CORS
No — 建议通过服务端代理调用
接口名称
US Presidential Election Data by TogaTech
典型端点
GET /
功能描述
Basic candidate data and live electoral vote counts for top two parties in US presidential election

平台支持

  • 目录收录 API,实际请求发往第三方服务
  • CORS 状态以实际测试为准
  • 生产环境使用请评估服务稳定性和官方条款