LINE Messaging API Data Extractor avatar

LINE Messaging API Data Extractor

Pricing

from $2.50 / 1,000 results

Go to Apify Store
LINE Messaging API Data Extractor

LINE Messaging API Data Extractor

Extract LINE Official Account data via Messaging API: bot info, follower stats, rich menu config, automated messages. Monitor engagement, analyze competitors, audit chatbot performance. Japan's #1 messaging platform.

Pricing

from $2.50 / 1,000 results

Rating

0.0

(0)

Developer

cloud9

cloud9

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

18 hours ago

Last modified

Share

LINE Official Account Scraper

Extract comprehensive data from LINE Official Accounts via LINE Messaging API. Get bot info, follower counts, and rich menu configurations in seconds.

Features

  • Bot Profile Information: Extract display name, user ID, basic ID, and profile picture URL
  • Follower Analytics: Retrieve total followers, targeted reaches, and block counts
  • Rich Menu Configuration: Access all rich menu details including size, buttons, and action types
  • JSON Export: Clean, structured JSON output for easy integration
  • Error Handling: Graceful error recovery with detailed logging
  • Japan Market Optimized: Built specifically for LINE bot management in the Japanese market

Use Cases

  • Bot Analytics Dashboard: Monitor follower growth and engagement metrics over time
  • Multi-Account Management: Bulk extract data from multiple LINE Official Accounts
  • Menu Configuration Audit: Track and audit rich menu changes across accounts
  • CRM Integration: Export bot metadata to CRM or marketing automation platforms
  • Competitive Analysis: Extract publicly available data from competitor LINE accounts
  • Data Archival: Create snapshots of account configuration for compliance and tracking

Input

{
"channelAccessToken": "YOUR_LINE_CHANNEL_ACCESS_TOKEN",
"getFollowersCount": true,
"getBotInfo": true,
"getRichMenus": false
}

Input Parameters

ParameterTypeRequiredDescription
channelAccessTokenStringYesLINE Messaging API channel access token (from LINE Developers Console)
getFollowersCountBooleanNoFetch follower count and reach metrics (default: true)
getBotInfoBooleanNoFetch bot profile information (default: true)
getRichMenusBooleanNoFetch rich menu configurations (default: false)

Output

{
"scrapedAt": "2024-12-15T10:30:45.123Z",
"source": "LINE Messaging API",
"botInfo": {
"userId": "U1234567890abcdef1234567890abcdef",
"basicId": "@1234567890abcdef1234567890abcdef",
"premiumId": null,
"displayName": "My LINE Bot",
"pictureUrl": "https://example.com/bot-profile.jpg",
"chatMode": "BOT",
"markAsReadMode": "auto"
},
"followers": {
"status": "OK",
"totalFollowers": 5000,
"targetedReaches": 4800,
"blocks": 50
},
"richMenus": [
{
"richMenuId": "neko_rich_menu_01",
"name": "Main Menu",
"size": {
"width": 2500,
"height": 1686
},
"chatBarText": "メニュー",
"selected": true,
"areasCount": 4,
"areas": [
{
"bounds": {
"x": 0,
"y": 0,
"width": 625,
"height": 843
},
"actionType": "message",
"actionLabel": "Shop",
"actionText": "shop",
"actionUri": null
}
]
}
]
}

Pricing

$2.50 per 1,000 API calls

Example Costs

API CallsCost
10 calls$0.03
100 calls$0.25
1,000 calls$2.50
10,000 calls$25.00

Typical Usage: Each run typically makes 2-4 API calls depending on selected options:

  • Bot info: 1 API call
  • Followers count: 1 API call
  • Rich menus: 1 API call

Tips

  1. Get Your Channel Access Token: Visit LINE Developers Console → Select your channel → Messaging API → Channel access token
  2. API Rate Limits: LINE enforces rate limits. Check your plan limits in the Developers Console
  3. Followers Count Limitation: The followers endpoint returns data for the previous day (in yyyyMMdd format)
  4. Rich Menu Optimization: Fetching rich menus can take longer for accounts with many menus. Disable if not needed
  5. Scheduled Runs: Use Apify Scheduler to run daily for continuous monitoring of your LINE account metrics
  6. Data Export: Export results to Google Sheets, Excel, or webhooks via Apify's built-in integrations
  7. Multiple Accounts: Run multiple actor tasks in parallel with different channel access tokens to monitor multiple LINE accounts

Integrations

Export Data To:

  • Google Sheets: Connect Apify to Google Sheets for real-time dashboard updates
  • Excel/CSV: Download results in Excel or CSV format for analysis in spreadsheet applications
  • Webhooks: Send data to your backend API or automation platform (Zapier, Make, etc.)
  • API: Access results programmatically via Apify's REST API
  • Database: Store results in MongoDB, PostgreSQL, or other databases via custom webhooks
  • Zapier/Make: Integrate with thousands of apps for automated workflows

Example Webhook Integration:

curl -X POST https://your-webhook.com/line-data \
-H "Content-Type: application/json" \
-d @actor-output.json

Requirements

  • LINE Official Account: An active LINE Official Account with access to the Messaging API
  • Channel Access Token: Valid token with appropriate permissions (bot profile, analytics)
  • API Permissions: Ensure your LINE channel has the following features enabled:
    • Messaging API
    • Bot Profile (for bot info)
    • Analytics (for follower data)

Limitations

  • Public Data Only: This actor extracts only publicly available information via LINE Messaging API
  • Rate Limiting: Respects LINE API rate limits (varies by plan)
  • Follower Data Delay: Follower metrics are delayed by 1 day (LINE API limitation)
  • Rich Menu Size: May take longer to fetch if your account has many rich menus (100+ menus)

Support

For issues, feature requests, or questions:

License

Apache-2.0 License


Last Updated: February 2025 Version: 0.1 Author: AI Development Team