morigraph Start free

Blog · Data APIs

How to give an AI agent LinkedIn, Instagram, TikTok and Google Maps data

Why the official APIs rarely work for agents, what the data providers cost, and how to get public data without a separate API key for every platform.

morigraph · 4 min read

Ask an assistant to look up a company's LinkedIn page or the reviews of a restaurant and it will usually try to open the page, hit a login wall, and give up. These sites are built to be read by people who are signed in. An agent needs the data from somewhere else.

There are three places to get it. This guide covers each, with prices as published on 27 November 2026 and sources at the end. We make morigraph, which is the third route.

Route 1: the official APIs

The obvious place to start, and for most agent work a dead end.

PlatformWhat the open API givesThe catch
LinkedInsign-in and posting for the member who authorised your appno open access to other members' profiles; most programmes need LinkedIn's approval
Instagramdata for professional accounts that connect to your appreading public content needs app review and business verification
TikTokpublic content and account data through the Research APIopen to academics and some non-profits, and not for commercial use
Google Mapsplace search and details through the Places APIworks well; needs a Google Cloud project with billing, at about $32 per 1,000 text searches

Google Maps is the exception: the official API is good, and the only cost is setup. For the three social platforms, the official APIs are designed for apps acting on behalf of their own signed-in users, not for looking things up.

Route 2: a data provider for each need

A set of companies collect publicly available data and sell it through an API. Several now offer an MCP server, so an assistant can call them directly.

ProviderCoversAccountPrice
ApifyGoogle Maps, Instagram, TikTok and many more through a marketplace of scrapersone Apify accountfrom about $1.50 per 1,000 results, on plans from free to $999 a month
Bright Datasearch, scraping and scrapers for the main social platformsone Bright Data token5,000 free requests a month, then $1.50 per 1,000
ScrapeCreators38 APIs across TikTok, Instagram, LinkedIn, YouTube and othersone API keyfrom $47 for 25,000 credits
SerpApisearch results, including Google Maps places and reviewsone SerpApi key250 free searches a month, then from $25 for 1,000
OutscraperGoogle Maps places, reviews and contactsone Outscraper keyfirst 500 free, then $3 per 1,000

This works. The cost is in the plural: one provider is strongest for Maps, another for TikTok, a third for LinkedIn, and each wants its own account, key, billing and configuration in your assistant.

Route 3: one connection that includes the data APIs

morigraph includes 480 public-data APIs behind one connection. They cover social profiles and posts, search results, maps and places, shopping listings and company data. The assistant searches the catalogue for the API it needs, reads its arguments, and runs it. Each call is priced on its own and paid from the same credit balance as morigraph's other tools, and the assistant can tell you the cost before it runs.

claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp

Then ask in plain words:

Find the Google Maps listing for the café at this address and summarise its most recent reviews.

Choose a dedicated provider instead when you need very high volume from one platform, a guarantee about freshness, or bulk exports. A per-call bundle is built for an assistant answering questions, not for collecting a million rows.

What to be careful about

Getting the data is the easy part. Using it properly takes more thought.

  • Platform terms. LinkedIn's user agreement, Meta's terms and TikTok's terms each prohibit automated collection by their users. Providers in this space collect publicly available data without logging in. In Meta v. Bright Data in January 2024, a United States court held that Meta's terms did not bar logged-off scraping of public data. That ruling is narrow, and it is not a general licence.
  • Personal data. Public does not mean free of rules. A person's public profile is still personal data under laws such as the GDPR. Have a lawful reason to process it, keep only what you need, and do not build profiles of private individuals.
  • Stay with public data. Never give an agent a personal login to scrape with. That breaks the platform's terms outright and puts the account at risk.
  • Check before you rely on it. Scraped data can be stale or incomplete. Treat it as a lead to verify, not a record.

For company research, market analysis and checking public listings, these tools are useful and routine. For anything that targets individuals, get advice first.

Sources