basic-profile
curl --request GET \
--url https://api.aisa.one/apis/v1/instagram/basic-profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/instagram/basic-profile"
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/instagram/basic-profile', 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/instagram/basic-profile",
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/instagram/basic-profile"
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/instagram/basic-profile")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/instagram/basic-profile")
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{
"account_badges": [],
"account_type": 3,
"address_street": null,
"ai_agent_type": null,
"bio_links": [],
"biography": "I build stuff",
"biography_with_entities": {
"entities": []
},
"category": null,
"city_name": null,
"external_lynx_url": null,
"external_url": "",
"fbid_v2": "17841401746480004",
"follower_count": 16101999,
"following_count": 617,
"friendship_status": null,
"full_name": "Mark Zuckerberg",
"gating": null,
"has_chaining": null,
"has_profile_pic": null,
"has_story_archive": null,
"hd_profile_pic_url_info": {
"url": "https://instagram.fpoz4-1.fna.fbcdn.net/v/t51.2885-19/550234512_18532404670058217_8758519395071163708_n.jpg?efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fpoz4-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2QENWmroLq0Z2oxDXF-wYN4Txpcg88E2n5GZTMYtQgXKAlUWi1gMsQQilbgL7mYspgA&_nc_ohc=vS_PAWzWFjcQ7kNvwEe9m50&_nc_gid=AOVYXTTsY5VI85UshvRoHA&edm=ALGbJPMBAAAA&ccb=7-5&oh=00_AfcBW_k3ngIbA43oUKKZ9SPx-FtlrQSSbOWg8npnXGqCcg&oe=68EB29FB&_nc_sid=7d3ac5"
},
"id": "314216",
"is_business": false,
"is_embeds_disabled": false,
"is_memorialized": false,
"is_private": false,
"is_professional_account": null,
"is_regulated_c18": false,
"is_unpublished": false,
"is_verified": true,
"latest_besties_reel_media": null,
"latest_reel_media": 0,
"linked_fb_info": null,
"live_broadcast_id": null,
"live_broadcast_visibility": null,
"media_count": 409,
"mutual_followers_count": null,
"pk": "314216",
"profile_context_links_with_user_ids": null,
"profile_pic_genai_tool_info": [],
"profile_pic_url": "https://instagram.fpoz4-1.fna.fbcdn.net/v/t51.2885-19/550234512_18532404670058217_8758519395071163708_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fpoz4-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2QENWmroLq0Z2oxDXF-wYN4Txpcg88E2n5GZTMYtQgXKAlUWi1gMsQQilbgL7mYspgA&_nc_ohc=vS_PAWzWFjcQ7kNvwEe9m50&_nc_gid=AOVYXTTsY5VI85UshvRoHA&edm=ALGbJPMBAAAA&ccb=7-5&oh=00_AfcUDbyLkAcHCLaaiVpvfv4AvlKuZUdsos_eZmuWHS02NQ&oe=68EB29FB&_nc_sid=7d3ac5",
"pronouns": [],
"reel_media_seen_timestamp": null,
"regulated_news_in_locations": [],
"remove_message_entrypoint": null,
"should_show_category": false,
"show_account_transparency_details": true,
"show_text_post_app_badge": true,
"supervision_info": null,
"text_post_app_badge_label": "zuck",
"text_post_new_post_count": null,
"total_clips_count": 1,
"transparency_label": null,
"transparency_product": null,
"username": "zuck",
"zip": null
}Instagram
basic-profile
基本资料
GET
https://api.aisa.one
/
apis
/
v1
/
instagram
/
basic-profile
basic-profile
curl --request GET \
--url https://api.aisa.one/apis/v1/instagram/basic-profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/instagram/basic-profile"
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/instagram/basic-profile', 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/instagram/basic-profile",
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/instagram/basic-profile"
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/instagram/basic-profile")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/instagram/basic-profile")
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{
"account_badges": [],
"account_type": 3,
"address_street": null,
"ai_agent_type": null,
"bio_links": [],
"biography": "I build stuff",
"biography_with_entities": {
"entities": []
},
"category": null,
"city_name": null,
"external_lynx_url": null,
"external_url": "",
"fbid_v2": "17841401746480004",
"follower_count": 16101999,
"following_count": 617,
"friendship_status": null,
"full_name": "Mark Zuckerberg",
"gating": null,
"has_chaining": null,
"has_profile_pic": null,
"has_story_archive": null,
"hd_profile_pic_url_info": {
"url": "https://instagram.fpoz4-1.fna.fbcdn.net/v/t51.2885-19/550234512_18532404670058217_8758519395071163708_n.jpg?efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fpoz4-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2QENWmroLq0Z2oxDXF-wYN4Txpcg88E2n5GZTMYtQgXKAlUWi1gMsQQilbgL7mYspgA&_nc_ohc=vS_PAWzWFjcQ7kNvwEe9m50&_nc_gid=AOVYXTTsY5VI85UshvRoHA&edm=ALGbJPMBAAAA&ccb=7-5&oh=00_AfcBW_k3ngIbA43oUKKZ9SPx-FtlrQSSbOWg8npnXGqCcg&oe=68EB29FB&_nc_sid=7d3ac5"
},
"id": "314216",
"is_business": false,
"is_embeds_disabled": false,
"is_memorialized": false,
"is_private": false,
"is_professional_account": null,
"is_regulated_c18": false,
"is_unpublished": false,
"is_verified": true,
"latest_besties_reel_media": null,
"latest_reel_media": 0,
"linked_fb_info": null,
"live_broadcast_id": null,
"live_broadcast_visibility": null,
"media_count": 409,
"mutual_followers_count": null,
"pk": "314216",
"profile_context_links_with_user_ids": null,
"profile_pic_genai_tool_info": [],
"profile_pic_url": "https://instagram.fpoz4-1.fna.fbcdn.net/v/t51.2885-19/550234512_18532404670058217_8758519395071163708_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fpoz4-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2QENWmroLq0Z2oxDXF-wYN4Txpcg88E2n5GZTMYtQgXKAlUWi1gMsQQilbgL7mYspgA&_nc_ohc=vS_PAWzWFjcQ7kNvwEe9m50&_nc_gid=AOVYXTTsY5VI85UshvRoHA&edm=ALGbJPMBAAAA&ccb=7-5&oh=00_AfcUDbyLkAcHCLaaiVpvfv4AvlKuZUdsos_eZmuWHS02NQ&oe=68EB29FB&_nc_sid=7d3ac5",
"pronouns": [],
"reel_media_seen_timestamp": null,
"regulated_news_in_locations": [],
"remove_message_entrypoint": null,
"should_show_category": false,
"show_account_transparency_details": true,
"show_text_post_app_badge": true,
"supervision_info": null,
"text_post_app_badge_label": "zuck",
"text_post_new_post_count": null,
"total_clips_count": 1,
"transparency_label": null,
"transparency_product": null,
"username": "zuck",
"zip": null
}按用户 ID 获取轻量级个人资料摘要,包括用户名、姓名、简介、统计数据、隐私状态和账户类型。适合快速查询或数据补充。
示例
curl "https://api.aisa.one/apis/v1/instagram/basic-profile" \
-H "Authorization: Bearer YOUR_API_KEY"
请求规范
- 方法与路径: GET /apis/v1/instagram/basic-profile
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/instagram/basic-profile - cache_max_age: query; 可选
- userId: query; 可选
{
"operationId": "get_instagram_basic_profile",
"method": "GET",
"path": "/apis/v1/instagram/basic-profile",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"description": "If we have a response in the cache that is this many days old or newer, return the cached response (with \"cached\": true and a \"cached_at\" timestamp). Otherwise, scrape a live result. [See the Caching page for details.](https://docs.scrapecreators.com/caching)",
"in": "query",
"name": "cache_max_age",
"required": false,
"schema": {
"enum": [
"14d",
"1d",
"30d",
"3d",
"7d"
],
"type": "string"
}
},
{
"description": "Instagram user id",
"in": "query",
"name": "userId",
"required": false,
"schema": {
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际计费结果数量收费。 默认请求预估费用:$0.00188 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
查询参数
If we have a response in the cache that is this many days old or newer, return the cached response (with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result. See the Caching page for details.
可用选项:
14d, 1d, 30d, 3d, 7d