A colleague sends an Instagram username as a possible contributor to a photography feature. Your immediate task is to locate the right account and identify useful background sources, not produce a partnership score.

Confirm what the username currently resolves to

Compare the returned account ID, name, and biography with the recommendation. Matching display names do not establish identity. Retain the identifier so future name changes cause less confusion. If the recommendation came from an old document, verify its context rather than assuming today's name holder is the intended person.

Use biography links as research leads

The contract describes biography links, external URLs, avatars, account types, and relationship counts. Public links can guide further reading, but their presence does not validate their contents. Business or professional account status does not establish photographic skill, service quality, or commercial trustworthiness.

Treat recent media as an initial window

The response may include timeline media and recent posts. That is useful for deciding what to inspect next, not a complete portfolio. Review actual subject matter, expression, and licensing needs separately. Date the candidate card and distinguish observations from unresolved questions. A useful collaboration decision begins with the work your feature requires, rather than follower counts or visual first impressions.

Request URL and parameters

GET https://api.trmesh.com/openapi/api/v1/instagram/v1/fetch_user_info_by_username

Parameter Type Required Meaning
username string Yes Instagram username

Run the Python example

Install requests and set TRMESH_API_TOKEN in your environment. Replace the sample identifiers with the public object you intend to inspect. Example IDs may no longer be available.

import os
import requests

# Read your own developer key from the server environment.
url = "https://api.trmesh.com/openapi/api/v1/instagram/v1/fetch_user_info_by_username"
params = {
    "username": "instagram"
}
response = requests.get(
    url, params=params, timeout=30,
    headers={"Authorization": f"Bearer {os.environ['TRMESH_API_TOKEN']}"},
)
response.raise_for_status()
payload = response.json()
print(payload)  # Inspect the actual response before mapping fields

Endpoint documentation · Free profile tool

API calls use your TRMesh account allowance. Check the endpoint price before running a script.