Instagram 账号所在地与改名记录 API
按 username 读 Instagram 账号「关于此账号」里的内容:注册年月 joined_at、所在国家 country、改过几次用户名 former_usernames_count 和认证年月 verified_at,每千次 $0.56。
joined_at只到月former_usernames_count只给次数,不给旧名字verified_at在 Instagram 没写时不出现
接口健康状态
- 24h 健康值
- 正常
- 健康 / 正常
- 可用
- 少量可用
- 基本不可用
24 小时趋势
30 天趋势
1请求
POST /api/v1/social { "platform": "instagram", "action": "user_about", "params": { "username": "nasa" } }2JSON 响应
{ "results": { "user_id": "", "username": "nasa", "joined_at": "2013-08", "joined_text": "August 2013", … } }3字段
user_id username joined_at joined_text nasa 2013-08 August 2013 4CSV
instagram-user_about-sample.csv username,user_id,joined_at,joined_text,country,former_usernames_count,is_verified,verified_at,url,platform
username,返回一个 JSON 对象,里面有 joined_at、country、former_usernames_count 等字段,列成字段表,也可下载为 CSV。能拿到什么数据
下表是对 nasa 的一次真实调用,采集于 2026年11月21日 15:18(UTC),返回一个对象;灰条是隐去的个人信息(CSV 里是 •••)。你自己调用时,按字段表返回这些字段。
| username | user_id | joined_at | joined_text | country | former_usernames_count | is_verified | verified_at | url | platform |
|---|---|---|---|---|---|---|---|---|---|
| nasa | 2013-08 | August 2013 | United States | 0 | true | null | https://www.instagram.com/nasa/ |
用途
核对账号年龄
读
joined_at和joined_text,看一个账号是哪年哪月注册的,再和它自称的经营时间对照。发现改过名的账号
former_usernames_count大于 0 说明账号改过用户名,可以作为核查账号的一条线索。对照所在地
把
country和账号自己写的所在地对照,看两者是否一致。确认认证时间
读
is_verified和verified_at,看账号什么时候拿到的认证。
Instagram Help Center 与 EveryInfra 对比
下面从改名记录、注册时间、所在国家、访问条件四方面,比 Instagram 帮助中心的 About this account 页面(不是接口文档)和 EveryInfra user_about。
| 对比项 | Instagram Help Center | EveryInfra |
|---|---|---|
| 改名记录 | "You can see the number of changes made to an account's username, but not the former usernames themselves." | former_usernames_count 只给改过几次,不给旧名字。 |
| 注册时间 | "Date joined: This is the date the account was created." | joined_at 是注册年月,只到月;joined_text 是页面上写的原话。 |
| 所在国家 | "Account based in: This is the country location based on an account's activity." | country 是账号所在国家;Instagram 没给这个账号「关于此账号」的内容时,整次返回空结果,不收费。 |
| 访问条件 | "When you’re logged in to your account and go to About this account" | 一把 EveryInfra API Key 放在 Authorization: Bearer 请求头里,不用登录 Instagram,也不用 Instagram 访问令牌。 |
引文出自 Instagram 帮助中心,2026-11-22 核对;页面没有标更新日期。这是帮助中心的页面,不是接口文档。 官方出处: What is "About this account" on Instagram and Threads
限制和注意事项
username必填,如 nasa,可带 @,也收主页链接。former_usernames_count只有次数,Instagram 不给改之前的名字。joined_at只到月;verified_at在 Instagram 没写时不出现。- Instagram 没给这个账号「关于此账号」的内容时返回空结果,不收费。
- 一次调用读一个账号,返回一个对象。
价格
每次调用 $0.000556,按次计费,不按字段多少算;一次调用读一个账号。失败和空结果不收费。
| 调用次数 | 费用 |
|---|---|
| 10,000 | $5.56 |
| 100,000 | $55.56 |
| 1,000,000 | $555.56 |
合计按每次调用的标价算。
代码示例
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "instagram",
"action": "user_about",
"params": {
"username": "nasa"
}
}'OpenAPI 定义 (JSON)示例从环境变量 EVERYINFRA_API_KEY 读取 Key,复制出去的代码不含你的 Key。
API 参考
下面是 user_about 的参数、响应字段、错误和计费,可以复制整页,或用 Markdown 打开后交给 AI 助手。
AI 提示词
#请帮我用 EveryInfra 的「Instagram 账号所在地与改名记录」接口(instagram/user_about)写一个数据采集脚本。
接口约定:
- 请求:POST https://api.everyinfra.com/api/v1/social,请求头 Authorization: Bearer <API Key>;Key 从环境变量 EVERYINFRA_API_KEY 读取,不要写进代码。
- 请求体里 platform 填 instagram,action 填 user_about,参数放在 params 里。
- 必填参数:
- username:要查的 Instagram 账号用户名,如 natgeo(可带 @,也收主页链接)。返回主页上 About this account 里的内容:注册年月、账号所在国家、改过几次用户名、认证年月。
- 返回一个对象,主要字段:username、user_id、joined_at((user_about)账号注册的…)、joined_text((user_about)Insta…)、country、former_usernames_count((user_about)这个账号改…)、is_verified、verified_at((user_about)账号拿到认…)、url。
- 示例请求体:
{
"platform": "instagram",
"action": "user_about",
"params": {
"username": "nasa"
}
}
- 计费:$0.56 / 千次;失败和空结果不扣费。
- 一次要采几十上百个时,在请求体加 "mode": "async":先拿到 job_id,再轮询 GET https://api.everyinfra.com/api/v1/jobs/{job_id} 取结果。
- 返回 422 时,按错误信息里的候选参数和允许值修正;返回 429 或 503 时,按 Retry-After 等待后重试。
写代码前,先问清楚我要采哪些对象、一共多少个、需要哪些字段、结果存成什么格式,再把方案和大概花费讲给我确认。请求参数
#| 参数名 | 位置 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|---|
Authorization | header | string | 是 | - | Bearer 加你的 API Key。在控制台创建;不要放进网址或代码仓库。 |
platform | body | string | 是 | instagram | 平台标识,固定值。 |
action | body | string | 是 | user_about | 能力标识,固定值。 |
username | body.params | string | 是 | - | 要查的 Instagram 账号用户名,如 natgeo(可带 @,也收主页链接)。返回主页上 About this account 里的内容:注册年月、账号所在国家、改过几次用户名、认证年月。Instagram 没给这个账号这一项时返回空结果,不扣费。 |
响应示例
#{ "id": "req_…", "platform": "instagram", "action": "user_about", "results": { "username": "nasa", "user_id": "•••", "joined_at": "2013-08", "joined_text": "August 2013", "country": "United States", "former_usernames_count": 0, "is_verified": true, "url": "https://www.instagram.com/nasa/", "platform": "instagram" }, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
返回字段
#业务数据在 results 里;下表是每条记录可能包含的字段,平台没有提供的值不会被编造。
| 字段 | 含义 |
|---|---|
username | 用户名(@handle)。 |
user_id | 用户在原平台的唯一 ID。 |
joined_at | (user_about)账号注册的年月,如 2010-11;只到月。 |
joined_text | (user_about)Instagram 页面上写的注册时间,原样给出,如 November 2010。 |
country | 国家或地区。可能是全称也可能是 ISO 代码,取决于平台,未归一。 |
former_usernames_count | (user_about)这个账号改过几次用户名。只有次数,Instagram 不给改之前的名字。 |
is_verified | 是否为平台认证账号(蓝V等)。null 表示无法判定。 |
verified_at | (user_about)账号拿到认证的年月;Instagram 没写时不出现。 |
url | 该记录在原平台上的可访问链接。 |
platform | 数据来源平台标识,与请求里的 platform 一致(如 xiaohongshu、tiktok)。 |
错误与计费
#- 401
- 缺少 Key 或 Key 无效。
- 402
- 余额不足,先充值。
- 422
- 参数名或取值不对,按错误信息给的候选改;不扣费。
- 429
- 超过每分钟请求上限,按 Retry-After 等待后再试。
- 503
- 暂时无法完成,预扣的费用退回;结果未知时先核对,不要直接重发。
- 200 空结果
- 没有数据,不扣费。
官方资料参照
#只用于核对对象与术语,不表示平台对 EveryInfra 的授权或背书。
- Instagram 帮助中心:关于此账号(About this account) ↗
Instagram 帮助中心说明,登录后在 About this account 里能看到账号的加入日期(Date joined)和用户名更改次数(Former username count,只给次数,不给旧用户名);对部分账号还能看到所在国家(Account based in,按账号活动判断)和是否认证(Verified)。可证明 joined_at、former_usernames_count、country、is_verified 这几项是 Instagram 官方给出的账号信息;不证明本接口能按任意公开 username 读取,不证明每个账号都有国家和认证信息,joined_text、verified_at 的格式这页没有讲。
核对于 2026-11-21
常见问题
Instagram 账号的注册时间和所在国家能查到吗?
能。user_about 返回 joined_at、joined_text、country、former_usernames_count、is_verified 和 verified_at;Instagram 没给这个账号「关于此账号」的内容时返回空结果。
能查到账号改名前的用户名吗?
不能。只给改过几次(former_usernames_count),不给旧名字。
查一个账号的注册时间多少钱?
每次 $0.000556,每千次 $0.56,按调用次数算。失败和空结果不收费。
查注册时间和所在国家要登录 Instagram 吗?
不用。请求头里放一把 EveryInfra API Key(Authorization: Bearer),不用登录 Instagram,也不用 Instagram 访问令牌。
user_about 和 profile 有什么区别?
profile 读简介、粉丝数这类主页资料;user_about 读注册年月、所在国家、改名次数和认证年月。
相关的 Instagram 能力
同一把 Key 还能调用 Instagram 的其他能力,比如读主页资料的 profile。
- 单条内容
post每千次 $0.56单条内容:返回列表,默认 11 条、单次最多 11 条;主要字段 post_id、url、text、media_type、like_count、comment_count。 - 主页或对象详情
profile每千次 $0.56主页或对象详情:返回单个对象;主要字段 username、display_name、bio、follower_count、following_count、post_count。 - 账号画像
persona每千次 $0.56账号画像:返回单个对象;主要字段 username、display_name、bio、follower_count、following_count、post_count。 - 用户内容
user_posts每千次 $0.56用户内容:返回列表,默认 30 条、单次最多 200 条;主要字段 post_id、url、text、media_type、like_count、comment_count。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - 内容发现
discover每千次 $0.56内容发现:返回列表,默认 30 条、单次最多 200 条;主要字段 post_id、url、text、media_type、like_count、comment_count。 - 评论
comments每千次 $0.79评论:返回列表,默认 50 条、单次最多 100 条;主要字段 id、text、url、like_count、reply_count、author_username。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - Reels 短视频
reels每千次 $1.19Reels 短视频:返回列表,默认 30 条、单次最多 100 条;主要字段 post_id、url、text、media_type、like_count、comment_count。 - 话题内容
hashtag每千次 $0.56话题内容:返回列表,默认 30 条、单次最多 30 条(传更大的数按 30 条返回);主要字段 post_id、url、text、media_type、like_count、comment_count。 - 粉丝数量
followers每千次 $0.56粉丝数量:返回单个对象;主要字段 id、username、url、name、avatar_url、follower_count。 - 粉丝列表
followers_list每千次 $0.56粉丝列表:返回列表,默认 50 条、单次最多 500 条;主要字段 id、username、url、name、avatar_url、is_private。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - 关注列表
following_list每千次 $0.56关注列表:返回列表,默认 50 条、单次最多 500 条;主要字段 id、username、url、name、avatar_url、is_private。 - 账号搜索
user_search每千次 $4.81账号搜索:返回列表,默认 20 条、单次最多 30 条;主要字段 rank、username、user_id、display_name、is_verified、is_private。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - Reels 关键词搜索
reels_search每千次 $7.19Reels 关键词搜索:返回列表,默认 20 条、单次最多 200 条;主要字段 post_id、id、url、text、play_count、like_count。 - 相似账号
similar_profiles每千次 $8.81相似账号:返回列表,默认 20 条、单次最多 30 条;主要字段 rank、username、user_id、display_name、is_verified、is_private。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - 被标记的帖子
tagged_posts每千次 $7.44被标记的帖子:返回列表,默认 20 条、单次最多 200 条;主要字段 post_id、url、tagged_username、author_username、author_id、text。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - Stories 内容
stories每千次 $1.5Stories 内容:返回列表,默认 100 条、单次最多 100 条(传更大的数按 100 条返回);主要字段 id、url、media_url、media_type、duration_seconds、duration_sec。 - 精选合集
highlights每千次 $1.6精选合集:返回列表,默认 100 条、单次最多 100 条(传更大的数按 100 条返回);主要字段 id、url、title、media_count、cover_url、created_at。 - 评论回复
comment_replies每千次 $0.88评论回复:返回列表,每次一页、每页最多 10 条,条数不固定(短页不代表到底),要更多就把响应顶层的 next_page_token 作为 page_token 再调,没有 next_page_token 才是到底;limit 照收但不起作用;主要字段 id、text、like_count、posted_at、author_username、author_id。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - 点赞用户列表
likers每千次 $1.32点赞用户列表:返回列表,每次一页、每页最多 100 条,条数不固定(短页不代表到底),要更多就把响应顶层的 next_page_token 作为 page_token 再调,没有 next_page_token 才是到底;limit 照收但不起作用;主要字段 id、username、url、name、avatar_url、is_private。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - 地点下的帖子
location_posts每千次 $0.56地点下的帖子:返回列表,每次一页、固定 12 条(最后一页可能更少),要更多就把响应顶层的 next_page_token 作为 page_token 再调;limit 照收但不起作用;主要字段 post_id、url、text、media_type、like_count、comment_count。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - 同一段音乐的 Reels
audio_posts每千次 $0.56同一段音乐的 Reels:返回列表,每次一页、固定 12 条(最后一页可能更少),要更多就把响应顶层的 next_page_token 作为 page_token 再调;limit 照收但不起作用;主要字段 post_id、url、text、media_type、like_count、comment_count。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - 发现页推荐
explore每千次 $0.56发现页推荐:返回列表,每次一页、固定 12 条(最后一页可能更少),要更多就把响应顶层的 next_page_token 作为 page_token 再调;limit 照收但不起作用;主要字段 post_id、url、text、media_type、like_count、comment_count。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - 互动率统计
engagement每千次 $0.56互动率统计:返回单个对象;主要字段 username、display_name、url、follower_count、is_verified、sample_size。 - 按编号查账号
profile_by_id每千次 $0.56按编号查账号:返回单个对象;主要字段 username、display_name、bio、follower_count、following_count、post_count。 - 地点资料
location_info每千次 $0.56地点资料:返回单个对象;主要字段 location_id、name、category、lat、lng、address。 - 链接识别
resolve_links每千次 $0.56链接识别:返回单个对象;主要字段 shortcode、media_id、url、platform。 - 帖子嵌入代码
oembed每千次 $0.56帖子嵌入代码:返回单个对象;主要字段 version、type、title、author_name、author_url、author_id。 - 帖子正文翻译
post_translation每千次 $6.39帖子正文翻译:返回单个对象;主要字段 media_id、shortcode、url、author_username、text、translation。 - 附近的地点
location_nearby每千次 $0.56附近的地点:返回列表,每个目标一页、每页最多 20 条,没有 next_page_token(要往后读,用单目标能力逐个翻页);limit 照收但不起作用;主要字段 rank、location_id、name、category、lat、lng。 - 话题搜索
hashtag_search每千次 $0.56话题搜索:返回列表,每个目标一页、每页最多 15 条,没有 next_page_token(要往后读,用单目标能力逐个翻页);limit 照收但不起作用;主要字段 rank、name、id、post_count、post_count_label、url。 - 精选合集里的快拍
highlight_stories每千次 $0.56精选合集里的快拍:返回列表,每个目标一页、每页最多 100 条,没有 next_page_token(要往后读,用单目标能力逐个翻页);limit 照收但不起作用;主要字段 id、url、media_url、media_type、duration_seconds、duration_sec。 - 评论翻译
comment_translations每千次 $6.39评论翻译:返回列表,每个目标一页、每页最多 10 条,没有 next_page_token(要往后读,用单目标能力逐个翻页);limit 照收但不起作用;主要字段 comment_id、text、translation、source_language、target_language、author_username。 - 推荐 Reels
recommended_reels每千次 $1.18推荐 Reels:返回列表,每次一页、固定 10 条(最后一页可能更少),要更多就把响应顶层的 next_page_token 作为 page_token 再调;limit 照收但不起作用;主要字段 post_id、url、text、media_type、like_count、comment_count。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - 账号转发的帖子
user_reposts每千次 $0.56账号转发的帖子:返回列表,每次一页、固定 12 条(最后一页可能更少),要更多就把响应顶层的 next_page_token 作为 page_token 再调;limit 照收但不起作用;主要字段 post_id、url、text、media_type、like_count、comment_count。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - 国家下的城市
location_cities每千次 $0.56国家下的城市:返回列表,每次一页、固定 96 条(最后一页可能更少),要更多就把响应顶层的 next_page_token 作为 page_token 再调;limit 照收但不起作用;主要字段 rank、city_id、name、slug、url、country_code。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - 城市下的地点
city_locations每千次 $0.56城市下的地点:返回列表,每次一页、固定 96 条(最后一页可能更少),要更多就把响应顶层的 next_page_token 作为 page_token 再调;limit 照收但不起作用;主要字段 rank、location_id、name、slug、url、city_id。支持翻页:把响应里的 next_page_token 作为 page_token 传回拿下一页,其他参数不变,每页算一次调用。 - 批量查账号
profiles_batch每千次 $0.56批量查账号:返回列表;主要字段 username、display_name、bio、follower_count、following_count、post_count。