# Agent Reach Instagram profile and followers return HTTP 400: why?

The 400 comes from OpenCLI's Instagram adapter, not from your login. In Agent Reach issue 550 (July 2026, confirmed on Windows, Linux and macOS) `whoami` and `search` worked while `profile`, `user`, `followers` and `download` all said "make sure you are logged in", and an October 2026 probe on OpenCLI 2.0.0 found the private endpoints behind them now answer 429 or HTML instead of JSON. XTikAPI's `instagram.accounts.detail` reads a public profile by username without your Instagram session, $0.004 a call.

Updated 2026-11-25

## Which command fails and why

| Command | Endpoint it calls | What came back (OpenCLI 2.0.0) |
|---|---|---|
| `profile`, `followers`, `following` | `web_profile_info` | 429 |
| `user` | `feed/user/<name>/username/` | 200 with an HTML page, not JSON |
| `search` | `topsearch` | 404 |
| `whoami` | `users/<id>/info/` | 429 |

So "make sure you are logged in" is a generic message; the session itself was fine. A contributor also noted Agent Reach's health check only tests the daemon and extension, never a real Instagram command.

## Workaround, or skip the browser

1. Wait for OpenCLI's fix (tracked upstream in OpenCLI issue 2553). Until then OpenCLI loads local overrides from `~/.opencli/clis/instagram/<command>.js`; `opencli adapter reset instagram` removes them.
2. Or call XTikAPI: `instagram.accounts.detail` (`id` = username), `instagram.posts.list` and `instagram.reels.list` by user ID, `instagram.comments.list` by post URL.

Cost: 100 profiles a week = 400 calls a month × $0.004 = $1.60, plus their latest posts 400 × $0.002 = $0.80.

## Why XTikAPI

- XTikAPI reads Instagram with 9 endpoints from $0.002 a call, and a failed call is not charged.
- Fewer tokens for AI: across 8 recorded live Instagram calls (2026-11-18), raw platform JSON is ~280k tokens vs ~39k via XTikAPI REST (86.1% fewer) and ~29k via MCP (89.7% fewer).
- See before you pay: 192 of 229 endpoints show a recorded real response on their page (8 of 9 for Instagram).
- One shape: posts, comments and accounts from 19 platforms come back as the same objects, author in author and counts in metrics, so another platform needs no new parser.
- Free trial: a verified account gets $0.50, no card.

## Endpoints

- [Instagram account details API](https://xtikapi.com/apis/instagram/accounts/detail) ($0.004 a call): An Instagram account profile.
- [Instagram post list API](https://xtikapi.com/apis/instagram/posts/list) ($0.002 a call): An Instagram account's posts.
- [Instagram Reels list API](https://xtikapi.com/apis/instagram/reels/list) ($0.002 a call): An Instagram account's Reels.
- [Instagram comments API](https://xtikapi.com/apis/instagram/comments/list) ($0.004 a call): A page of comments on an Instagram post.

## More about Instagram

- [Instagram API](https://xtikapi.com/apis/instagram)
- [Instaloader errors (401/429, hashtag 404, get_reels empty, get_comments fail): how do I fix them?](https://xtikapi.com/answers/instaloader-errors-and-fixes)
- [My Instagram account keeps getting temporarily locked when scraping with Instaloader: what can I do?](https://xtikapi.com/answers/instagram-account-temporarily-locked)
- [Can the Instagram Graph API get another account's followers and posts?](https://xtikapi.com/answers/instagram-graph-api-other-accounts-business-discovery)
- [How do I get an Instagram user ID from a username?](https://xtikapi.com/answers/instagram-username-to-user-id)

## Sources

What this page says about other products comes from their own pages and docs, read on 2026-11-25.

- [Agent Reach issue #550 (Instagram profile/user/followers return HTTP 400)](https://github.com/Panniantong/Agent-Reach/issues/550)
- [Agent Reach issue #384 (Instagram and TikTok support request)](https://github.com/Panniantong/Agent-Reach/issues/384)

## Questions

### Can XTikAPI list someone's followers on Instagram?

Not today; the catalog has profiles, posts, Reels, comments, hashtag posts and related accounts.

### Does Agent Reach support TikTok?

Issue 384 is still open for TikTok; Instagram landed through OpenCLI in June 2026.

---

XTikAPI: one API key for public social media data, prepaid per call. [HTML version](https://xtikapi.com/answers/agent-reach-instagram-http-400) · [llms.txt](https://xtikapi.com/llms.txt) · [OpenAPI](https://xtikapi.com/openapi.json)
