GET /v1/instagram/v3/extract_shortcode
Extract shortcode from URL
stable · 3 credits per success
Extract shortcode from full Instagram post URL;Supports /p/, /reel/, /reels/, /tv/ URL formats
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| url | string | query | yes | Instagram帖子完整URL | https://www.instagram.com/p/CrgVBtHrFHm/ |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 3 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.