OAISYS API
Instagram & Reddit Automation
Automate Instagram and Reddit actions, scrape engagement data, and connect Claude directly to your accounts — all through a single authenticated API.
🚀 Quick Start
Up and running in under a minute
Get your API key
Log in to OAISYS → Account Settings → API Access. Copy your key.
export OAISYS_API_KEY="your-key-here"
List your accounts
Confirm your accounts are connected and get their IDs for action endpoints.
curl https://oaisyscloud.com/v1/accounts \ -H "x-api-key: $OAISYS_API_KEY"
Run your first action
Use the account ID from step 2 to follow an Instagram user.
curl https://oaisyscloud.com/v1/instagram/follow \
-H "x-api-key: $OAISYS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"account_ids":[2],"target_usernames":["username"]}'
🔑 Authentication
All endpoints require an API key in the request header
Pass your OAISYS API key as the x-api-key header on every request. Keys are found in Account Settings after login. Never expose keys in client-side code.
curl https://oaisyscloud.com/v1/accounts \ -H "x-api-key: YOUR_OAISYS_API_KEY"
🔌 MCP Setup — Claude Integration
Connect Claude Code to all OAISYS tools in one command
OAISYS exposes a hosted MCP endpoint at https://oaisyscloud.com/mcp. All 22 tools — Instagram actions, Instagram scraping, Reddit posting, account management — are available immediately after adding the server.
export OAISYS_API_KEY="your-key" claude mcp add --transport http --scope user \ --header "x-api-key: $OAISYS_API_KEY" \ oaisys https://oaisyscloud.com/mcp
| Tool | Platform | What it does |
|---|---|---|
| oaisys_instagram_follow | Follow one or more users | |
| oaisys_instagram_comment | Comment on a post | |
| oaisys_instagram_dm | Send direct messages | |
| oaisys_instagram_post | Create a feed post | |
| oaisys_instagram_scrape_comments | Scrape post commenters | |
| oaisys_instagram_scrape_likers | Scrape post likers | |
| oaisys_instagram_scrape_profile | Scrape a user profile | |
| oaisys_reddit_post | Create a Reddit post | |
| oaisys_reddit_reply | Reply to a post or comment | |
| oaisys_scrape_user | Scrape a Reddit profile | |
| oaisys_scrape_subreddit | Scrape subreddit posts | |
| oaisys_list_accounts | Account | List connected accounts |
| oaisys_get_usage | Account | Check credit balance |
| oaisys_connect | Account | Workspace context snapshot |
📸 Instagram Endpoints
Automate Instagram actions and scrape engagement data using your connected iOS session
All Instagram endpoints use the Bearer token captured from your iPhone via the OAISYS session tool. Actions run as your real account — no automation flags or third-party credentials required.
Follows the specified usernames from each selected account. Supports bulk targets across multiple accounts.
| Parameter | Type | Description |
|---|---|---|
| account_idsreq | array | Account IDs to act from (get from /v1/accounts) |
| target_usernamesreq | array | Instagram usernames to follow (without @) |
| delay_seconds | number | Seconds between follows (default 1) |
curl https://oaisyscloud.com/v1/instagram/follow \
-H "x-api-key: $OAISYS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"account_ids": [2],
"target_usernames": ["speedy_devv", "username2"]
}'
{ "success": true, "message": "Started for 1 accounts and 2 targets" }
Posts a comment on the specified Instagram post URL from each selected account.
| Parameter | Type | Description |
|---|---|---|
| account_idsreq | array | Account IDs to comment from |
| post_urlreq | string | Full Instagram post URL (https://www.instagram.com/p/CODE/) |
| comment_textreq | string | Text of the comment |
curl https://oaisyscloud.com/v1/instagram/comment \
-H "x-api-key: $OAISYS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"account_ids": [2],
"post_url": "https://www.instagram.com/p/DYBuHJcgOO1/",
"comment_text": "🔥 Love this!"
}'
{ "success": true, "count": 1, "failed": 0, "message": "Posted 1 comment(s)" }
Sends a DM to each target username from each selected account. Useful for outreach campaigns to commenters or likers from a scraped post.
| Parameter | Type | Description |
|---|---|---|
| account_idsreq | array | Account IDs to send from |
| target_usernamesreq | array | Usernames to message |
| messagereq | string | Message text to send |
| delay_seconds | number | Seconds between DMs (default 2) |
curl https://oaisyscloud.com/v1/instagram/dm \
-H "x-api-key: $OAISYS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"account_ids": [2],
"target_usernames": ["speedy_devv"],
"message": "Hey! Love your content 🙌"
}'
Uploads a photo from your OAISYS media library and publishes it as a feed post. Uses the two-step rupload + configure flow against Instagram's private API.
| Parameter | Type | Description |
|---|---|---|
| account_idsreq | array | Account IDs to post from |
| photo_filenamereq | string | Filename in the OAISYS photo library |
| caption | string | Optional caption text with hashtags or emoji |
curl https://oaisyscloud.com/v1/instagram/post \
-H "x-api-key: $OAISYS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"account_ids": [2],
"photo_filename": "promo.jpg",
"caption": "New drop 🔥 #viral"
}'
{ "success": true, "count": 1, "results": [{ "username": "clawdman112", "post_url": "https://www.instagram.com/p/DYBu9E0gJ9f/" }] }
Returns all comments on a post including commenter username, user ID, comment text, and timestamp. Use for building outreach lists from high-engagement reels.
| Parameter | Type | Description |
|---|---|---|
| media_idreq | string | Instagram media ID (e.g. 3884690229034764754_75209581759) |
| max_comments | number | Max comments to return (default 500, max 2000) |
curl https://oaisyscloud.com/v1/instagram/scrape/comments \
-H "x-api-key: $OAISYS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"media_id": "3884690229034764754_75209581759",
"max_comments": 500
}'
{ "success": true, "media_id": "3884690...", "count": 487, "comments": [
{ "username": "user1", "user_id": "123", "text": "🔥", "created_at": 1746123456 },
...
]}
Returns users who liked a post. Instagram caps this at roughly 100 per request from the private API.
| Parameter | Type | Description |
|---|---|---|
| media_idreq | string | Instagram media ID |
curl https://oaisyscloud.com/v1/instagram/scrape/likers \
-H "x-api-key: $OAISYS_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "media_id": "3884690229034764754_75209581759" }'
{ "success": true, "count": 98, "likers": [
{ "username": "user1", "user_id": "456789" },
...
]}
Returns public profile metadata for any Instagram username: follower count, following, post count, bio, verified status.
| Parameter | Type | Description |
|---|---|---|
| usernamereq | string | Instagram username without @ |
curl https://oaisyscloud.com/v1/instagram/scrape/profile \
-H "x-api-key: $OAISYS_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "username": "speedy_devv" }'
{ "success": true, "profile": {
"username": "speedy_devv",
"follower_count": 284000,
"following_count": 412,
"post_count": 182,
"bio": "...",
"is_verified": false
}}
🤖 Reddit Endpoints
Post, reply, scrape, and update profiles on Reddit using connected accounts
Submit a text, link, or media post to any subreddit from selected accounts.
| Parameter | Type | Description |
|---|---|---|
| account_idsreq | array | Reddit account IDs |
| subredditreq | string | Subreddit name without r/ |
| titlereq | string | Post title |
| content | string | Text body (for text posts) |
| url | string | Link URL (for link posts) |
| media_url | string | Hosted image/video URL |
curl https://oaisyscloud.com/v1/reddit/post \
-H "x-api-key: $OAISYS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"account_ids": ["reddit_42"],
"subreddit": "entrepreneur",
"title": "Built this in a weekend",
"content": "Here is what I learned..."
}'
| Parameter | Type | Description |
|---|---|---|
| account_ids | array | Reddit account IDs. For one account, you can also pass a username in the array. |
| account_username | string | Single Reddit username to reply from, for example No_Damage2178. |
| target_urlreq | string | Full Reddit post or comment URL |
| messagereq | string | Reply text |
curl https://oaisyscloud.com/v1/reddit/reply \
-H "x-api-key: $OAISYS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"account_username": "No_Damage2178",
"target_url": "https://www.reddit.com/r/sub/comments/abc123/",
"message": "Great post!"
}'
Three endpoints to update display name, bio, and privacy settings on selected accounts.
# Update display name curl https://oaisyscloud.com/v1/reddit/profile/name \ -H "x-api-key: $OAISYS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"account_ids":["reddit_42"],"name":"New Name"}' # Update bio curl https://oaisyscloud.com/v1/reddit/profile/bio \ -H "x-api-key: $OAISYS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"account_ids":["reddit_42"],"bio":"My new bio"}'
# Scrape a user profile curl https://oaisyscloud.com/v1/reddit/scrape/user \ -H "x-api-key: $OAISYS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"username":"someuser","max_pages":3}' # Scrape subreddit posts curl https://oaisyscloud.com/v1/reddit/scrape/subreddit \ -H "x-api-key: $OAISYS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"subreddit":"entrepreneur","sort_by":"hot","limit":50}'
👤 Connected Accounts
curl https://oaisyscloud.com/v1/accounts \ -H "x-api-key: $OAISYS_API_KEY"
# Get proxy curl https://oaisyscloud.com/v1/accounts/2/proxy \ -H "x-api-key: $OAISYS_API_KEY" # Update proxy curl -X PATCH https://oaisyscloud.com/v1/accounts/2/proxy \ -H "x-api-key: $OAISYS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"proxy":"host:port:user:pass"}'
💳 Usage & Credits
curl https://oaisyscloud.com/v1/usage \ -H "x-api-key: $OAISYS_API_KEY"
⚠️ Error Codes
| Code | Meaning |
|---|---|
| 200 | Request completed successfully |
| 400 | Missing or invalid request body — check required parameters |
| 401 | Missing, invalid, or inactive API key |
| 402 | Insufficient OAISYS credits — top up in Account Settings |
| 429 | Instagram or Reddit rate limit hit — wait before retrying |
| 500 | Server error — retry or contact support |