Instagram 상세 정보 API
API 상태
- 24시간 상태
- 100%
- 24시간 평균 소요 시간
- 20.74 s
- 양호 / 정상
- 사용 가능
- 제한적
- 대부분 작동 중단
최근 24시간
최근 30일
핸들이나 프로필 URL로 Instagram 계정을 조회합니다. 표시 이름, 소개, 팔로워·팔로잉·게시물 수, 계정 유형 플래그, 외부 링크, 최근 게시물을 가져옵니다. 인증, 비즈니스, 프로페셔널 플래그는 신원, 소득, 현재 상업 활동을 입증하지 않습니다.
요금은 요청 1,000개당 $0.56(호출당 $0.000556)입니다. 실패한 호출과 빈 결과에는 과금하지 않습니다. 동기 방식입니다. 오래 걸리는 작업은 요청 본문에 "mode": "async"를 추가하고 job_id를 받아 폴링하세요.
AI 프롬프트
EveryInfra Instagram 상세 정보 엔드포인트(instagram/profile)를 사용하는 데이터 수집 스크립트 작성을 도와주세요.
엔드포인트 사용 방법:
- 요청: Authorization: Bearer <API 키> 헤더와 함께 POST https://api.everyinfra.com/api/v1/social로 보냅니다. 키는 EVERYINFRA_API_KEY 환경 변수에서 읽고, 절대 하드코딩하지 마세요.
- 요청 본문에서 platform은 instagram, action은 profile로 설정하고, 파라미터는 params 안에 넣습니다.
- 필수 파라미터:
- username: @ 기호 없는 Instagram 계정 핸들 또는 프로필 전체 URL로 계정을 지정합니다. profile, persona, user_posts, reels에서 계정 데이터를 가져오는 데 사용합니다. followers 액션은 총 팔로워 수만 반환하고, followers_list와 following_list는 계정 목록을 반환합니다.
- 단일 객체를 반환합니다. 주요 필드: username, display_name, bio, follower_count, following_count, post_count, is_private, is_verified, is_business, is_professional, category, external_url; 전체 필드 19개, 전체 목록은 https://api.everyinfra.com/api/v1/social/catalog?platform=instagram.
- 요청 본문 예시:
{
"platform": "instagram",
"action": "profile",
"params": {
"username": "nasa"
}
}
- 요금: 요청 1,000개당 $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 키를 붙여 입력합니다. API 키는 콘솔에서 생성하며, URL이나 코드 저장소에 절대 넣지 마세요. |
platform | body | string | 예 | instagram | 플랫폼 식별자이며 고정값입니다. |
action | body | string | 예 | profile | 기능 식별자이며 고정값입니다. |
username | body.params | string | 예 | - | @ 기호 없는 Instagram 계정 핸들 또는 프로필 전체 URL로 계정을 지정합니다. profile, persona, user_posts, reels에서 계정 데이터를 가져오는 데 사용합니다. followers 액션은 총 팔로워 수만 반환하고, followers_list와 following_list는 계정 목록을 반환합니다. |
코드 샘플
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": "profile",
"params": {
"username": "nasa"
}
}'OpenAPI 정의(JSON)샘플 코드는 EVERYINFRA_API_KEY 환경 변수에서 키를 읽으므로, 복사한 코드에는 API 키가 포함되지 않습니다.
응답 예시
September 26, 2026 at 08:56(UTC)에 위 코드 샘플의 파라미터로 이 API를 호출해 수집한 응답입니다. results와 count는 해당 호출의 실제 응답이며, 개인정보(이름, 핸들, 아바타, 프로필 링크, 연락처)는 제거했습니다. id, billing, quota는 호출할 때마다 달라지므로 형태만 표시합니다.
{
"id": "req_…",
"platform": "instagram",
"action": "profile",
"results": {
"username": "nasa",
"display_name": "NASA",
"bio": "Making the seemingly impossible, possible. ✨",
"follower_count": 104336090,
"following_count": 89,
"post_count": 4934,
"is_private": false,
"is_verified": true,
"is_business": false,
"is_professional": false,
"external_url": "https://www.nasa.gov",
"avatar_url": "https://scontent-mad1-1.cdninstagram.com/•••",
"recent_posts": [
{
"post_id": "DdHyaYAifb6",
"url": "https://www.instagram.com/p/DdHyaYAifb6",
"text": "Cementing their names in history.\n\nThe Artemis III crew is leaving their mark — literally. The astronauts recently signed their names on the hardware that will be inside their Orion spacecraft during their low Earth orbit mission, launching in 2027.\n\nImage descriptions:\n\n1. The A…",
"media_type": "image",
"like_count": 0,
"comment_count": 0,
"view_count": 0,
"author_username": "nasa",
"posted_at": "2026-09-10T00:00:00+00:00"
},
{
"post_id": "DdWyDLcGiqo",
"url": "https://www.instagram.com/p/DdWyDLcGiqo",
"text": "Southern Hemisphere Milky Way galaxy view from the @••• cupola. This 3s exposure series captured two of my favorite cupola views, the particularly dense Milky Way galaxy as seen from the Southern Hemisphere, and the bright, colorful lights of squid fishing boats (here, the brig…",
"media_type": "image",
"like_count": 0,
"comment_count": 0,
"view_count": 0,
"author_username": "•••",
"posted_at": "2026-09-16T00:00:00+00:00"
},
{
"post_id": "DdT_4GMka0z",
"url": "https://www.instagram.com/p/DdT_4GMka0z",
"text": "In a class of their own\n\nHidden within this star-forming nebula (captured by our Webb telescope in one of its largest images to date) are strange objects called brown dwarfs. Generally less massive than stars and more massive than planets, they are neither. They form the same way…",
"media_type": "image",
"like_count": 0,
"comment_count": 0,
"view_count": 0,
"author_username": "•••",
"posted_at": "2026-09-15T00:00:00+00:00"
}
]
},
"billing": {
"charged": …,
"charged_usd": …,
"balance_after_usd": …,
…
},
"quota": { … }
}응답 필드
비즈니스 데이터는 results에 담깁니다. 아래 표는 레코드에 포함될 수 있는 필드를 나열하며, 플랫폼에 표시되지 않는 값을 임의로 만들어 넣지 않습니다.
| 필드 | 의미 |
|---|---|
username | 사용자 이름(@handle)입니다. |
display_name | 표시 이름으로, username과 다를 수 있습니다. |
bio | 계정이 작성한 프로필 소개로, 줄바꿈과 이모지가 포함될 수 있습니다. |
follower_count | 팔로워 수입니다. null은 비공개라는 뜻이며, 0이 아닙니다. |
following_count | 팔로잉 수입니다. null은 비공개라는 뜻이며, 0이 아닙니다. |
post_count | 전체 게시물 수입니다. null은 비공개라는 뜻이며, 0이 아닙니다. |
is_private | 플랫폼 자체의 의미를 따름 |
is_verified | 플랫폼의 계정 인증 여부입니다. null은 판단할 수 없다는 뜻입니다. |
is_business | 플랫폼 자체의 의미를 따름 |
is_professional | 플랫폼 자체의 의미를 따름 |
category | 플랫폼 자체 분류 체계의 카테고리 이름으로, 플랫폼 간에 정규화되지 않습니다. |
external_url | 플랫폼 자체의 의미를 따름 |
avatar_url | 프로필 이미지 링크입니다. 일부 플랫폼은 크기가 지정된 CDN 링크를 반환하며, 이 링크는 만료될 수 있습니다. |
user_id | 플랫폼에서 사용자의 고유 ID입니다. |
avatar_hd_url | 플랫폼 자체의 의미를 따름 |
external_urls | 플랫폼 자체의 의미를 따름 |
has_reels | 플랫폼 자체의 의미를 따름 |
highlight_count | 플랫폼 자체의 의미를 따름 |
recent_posts | 플랫폼 자체의 의미를 따름 |
오류 및 과금
- 401
- 키가 없거나 유효하지 않습니다.
- 402
- 잔액이 부족합니다. 먼저 충전하세요.
- 422
- 파라미터 이름 또는 값이 올바르지 않습니다. 오류에 제시된 제안을 참고해 수정하세요. 과금되지 않습니다.
- 429
- 분당 요청 속도 제한에 도달했습니다. Retry-After만큼 기다린 뒤 다시 시도하세요.
- 503
- 처리를 완료하지 못했습니다. 보류된 금액은 잔액으로 반환됩니다. 결과가 불확실하면 재시도하기 전에 먼저 확인하세요.
- 200 빈 결과
- 데이터가 없습니다. 과금되지 않습니다.