APISocial Media — InstagramIG — Connect Account (login)

IG — Connect Account (login)

Programmatic login to connect an IG account.

POST/api/v1/social/insta/makecookiesFreeaccount-required
POSTS username/password to log a fresh session in. Returns either an account_id or `requires_2fa` + a session token. If 2FA is required, send the OTP via /makecookies/verify with the same session token.

Body example

{
  "username": "your_ig_username",
  "password": "your_password"
}

Response

placeholder inline shape — run scripts/dump_doc_samples.py on the server to populate real samples.
{
  "status": "ok",
  "account_id": "ig_acct_…"
}
API Key

Paste your full key once — cached in this browser for 7 days, then cleared.

const res = await fetch("https://api.logposervices.com/api/v1/social/insta/makecookies", {
  method: "POST",
  headers: {
    "X-API-Key": "<YOUR_API_KEY>",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "username": "your_ig_username",
    "password": "your_password"
  }),
});
const data = await res.json();
Try it
Base URL
https://api.logposervices.com
Body
Response

Click Send Request above to try this endpoint.