boards
curl --request GET \
--url https://api.aisa.one/apis/v1/pinterest/user/boards \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/pinterest/user/boards"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/pinterest/user/boards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/pinterest/user/boards",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/pinterest/user/boards"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/pinterest/user/boards")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/pinterest/user/boards")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"boards": [
{
"created_at": "Mon, 17 Feb 2025 02:19:26 +0000",
"description": "",
"follower_count": 292,
"id": "549580029467577434",
"image_cover_hd_url": "https://i.pinimg.com/474x/45/00/df/4500dfc5bc8bbc15137ff9d9abf04cc1.jpg",
"name": "Turkey Recipes",
"pin_count": 545,
"url": "https://www.pinterest.com/sharat24k/turkey-recipes/"
}
],
"cursor": "LT41NDk1ODAwMjk0Njc1Njc1O....",
"success": true
}Pinterest
boards
用户看板
GET
https://api.aisa.one
/
apis
/
v1
/
pinterest
/
user
/
boards
boards
curl --request GET \
--url https://api.aisa.one/apis/v1/pinterest/user/boards \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/pinterest/user/boards"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/pinterest/user/boards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/pinterest/user/boards",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/pinterest/user/boards"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/pinterest/user/boards")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/pinterest/user/boards")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"boards": [
{
"created_at": "Mon, 17 Feb 2025 02:19:26 +0000",
"description": "",
"follower_count": 292,
"id": "549580029467577434",
"image_cover_hd_url": "https://i.pinimg.com/474x/45/00/df/4500dfc5bc8bbc15137ff9d9abf04cc1.jpg",
"name": "Turkey Recipes",
"pin_count": 545,
"url": "https://www.pinterest.com/sharat24k/turkey-recipes/"
}
],
"cursor": "LT41NDk1ODAwMjk0Njc1Njc1O....",
"success": true
}属于某个用户账号的所有画板。
示例
curl "https://api.aisa.one/apis/v1/pinterest/user/boards?handle=VALUE" \
-H "Authorization: Bearer YOUR_API_KEY"
请求规范
- 方法与路径: GET /apis/v1/pinterest/user/boards
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/pinterest/user/boards - handle: query; 必填
- trim: query; 可选
{
"operationId": "get_pinterest_user_boards",
"method": "GET",
"path": "/apis/v1/pinterest/user/boards",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"description": "The username of the user to get boards for. (e.g. broadstbullycom from https://www.pinterest.com/broadstbullycom/)",
"in": "query",
"name": "handle",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "Set to true for a trimmed down version of the response",
"in": "query",
"name": "trim",
"required": false,
"schema": {
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际计费结果数量收费。 默认请求预估费用:$0.00188 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
查询参数
要获取其画板的用户的用户名。(例如 https://www.pinterest.com/broadstbullycom/ 中的 broadstbullycom)