business_discovery
Retrieve public Instagram business or creator account details including bio, follower counts, and media statistics to analyze profiles and gather insights.
Instructions
Look up another public Business or Creator account's profile. Returns bio, follower count, media count, etc.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_username | Yes | Instagram username to look up (without @) |
Implementation Reference
- src/client.ts:567-581 (handler)The handler implementation for business discovery that performs the API request.
async businessDiscovery( targetUsername: string ): Promise<IGBusinessProfile> { const fields = "username,name,biography,website,followers_count,follows_count,media_count,profile_picture_url"; const data = await this.request("GET", this.aid(), { params: { fields: `business_discovery.fields(${fields})` }, }); const bd = data.business_discovery; if (!bd) throw new InstagramAPIError( `Could not find business account: ${targetUsername}` ); return bd; } - src/index.ts:332-343 (registration)The MCP tool definition and registration for business_discovery.
{ name: "business_discovery", description: "Look up another public Business or Creator account's profile. Returns bio, follower count, media count, etc.", inputSchema: { type: "object" as const, properties: { target_username: { type: "string", description: "Instagram username to look up (without @)" }, }, required: ["target_username"], }, }, - src/index.ts:463-464 (handler)The switch case handler in index.ts that calls the businessDiscovery client method.
case "business_discovery": return JSON.stringify(await c.businessDiscovery(args.target_username), null, 2);