apilayer pdflayer
HTML/URL 转 PDF
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 文档与效率
- 文档 / URL
- https://pdflayer.com
简介
pdflayer(APILayer 产品)把 HTML/URL 转成 PDF。认证是 API 密钥(无效密钥返回 HTTP 200 带 "success": false——APILayer 风格,已实测)。
快速开始
转换 URL(替换 YOUR_KEY):
curl "https://api.pdflayer.com/api/convert?access_key=YOUR_KEY&document_url=https://example.com"
(返回 PDF;错误以 JSON success:false 返回)
带选项:
curl "https://api.pdflayer.com/api/convert?access_key=YOUR_KEY&document_url=https://example.com&page_size=A4&margin_top=10"
认证方式
- 在 pdflayer.com 注册 → 免费 API 密钥。
- 通过
access_key查询参数携带(无效 → 200 +success:false,已实测)。
速率限制与注意事项
- 免费层:100 次转换/月(以文档为准);付费档可扩展。
- 选项:页面尺寸、边距、页眉/页脚、横向。
- 成功返回 PDF 二进制;失败返回 JSON。
常见问题
pdflayer 免费吗? 免费层:100 次/月;更多需要付费。
为什么 200 但 success:false? APILayer 惯例(已实测)——请检查 JSON 响应体。
转换什么? HTML 文档和 URL 转 PDF。
文档与效率 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Airtable Integrate with Airtable | API Key | Yes | Unknown | ↗ |
| Api2Convert Online File Conversion API | API Key | Yes | Unknown | ↗ |
| Asana Programmatic access to all data in your asana system | API Key | Yes | Yes | ↗ |
| ClickUp ClickUp is a robust, cloud-based project management tool for boosting productivity | OAuth | Yes | Unknown | ↗ |
| Clockify Clockify's REST-based API can be used to push/pull data to/from it & integrate it with other systems | API Key | Yes | Unknown | ↗ |