Enrichir Username
AI-generatedSummary
Convert a given Instagram user ID into the corresponding Instagram username and retrieve the enriched user profile data.
Inputs
- User ID (required) — The Instagram user ID (e.g., 77783926710) to enrich into a username and profile information.
- Session Data (Pour Enrichissement) — Optional Instagram session data for enrichment (JSON string generated by extract-session.js). If empty, default session cookies are used.
- Timeout (ms) — Timeout in milliseconds for HTTP requests; defaults to 30000.
- Inclure les statistiques — Boolean to include detailed statistics in the response; defaults to true.
- Format des données — Determines the data detail level format: standard (compatible with instagram-scraper), full (all data with analytics), or simple (essential data only). Defaults to standard.
Output shape
A single JSON object containing success status, the input user ID, enrichment boolean, and the enriched Instagram user profile data object.
Requires Instagram credentials with session cookies; returns an error if connection or enrichment fails. Throws an error if the user ID is missing or enrichment is unsuccessful.
Examples
Example 1: Convert Instagram numeric user ID to username with profile enrichment.
Set 'User ID' to the target Instagram numeric ID; optionally provide session data and adjust timeout or data format as needed.