Skip to content

IntegrationsSales Intelligence · Beta

The Swarm API integration

Put The Swarm in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

Built for specific customer use cases. Issues are resolved quickly.

01Proxy API

Call the The Swarm API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the The Swarm API. You call us, we call The Swarm, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APIThe Swarm

GEThttps://api.truto.one/proxy/relationships?integrated_account_id=…

The Swarm’s own response, passed back

02MCP server

The Swarm tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets The Swarm tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin The Swarm
  • Profile postsList
  • Company postsList
  • Company search resultsList
  • ConnectorCreate
  • Network mapsCreate, Status
  • Post commentsList
  • Post reactionsList
  • Post resharesList
  • Profile search resultsList
  • TeamCreate
  • Credit usageList
  • RelationshipsList
  • ProfilesFetch, Refresh
  • CompaniesFetch
Show tool names16 tools, for developers
  • list_all_the_swarm_profile_postsList a person's LinkedIn profile posts in The Swarm. Returns each post's urn, commentary, actor, url, and social_activity_counts. Requires one of linkedinID, linkedinName, or linkedinEntityID to identify the person. Costs 5 credits per call (live test); The Swarm returns 50 posts a page whatever page size is asked.
  • list_all_the_swarm_company_postsList LinkedIn posts published by a company via The Swarm. Returns: urn, actor, post_range, post_age, social_activity_counts, images, url, video, reshared_post, commentary, header, header_entity. Provide linkedinID or linkedinName to identify the company. Costs 5 credits per call (live test); The Swarm returns about 50 posts a page whatever page size is asked, and page 2 can repeat posts from page 1 (27 of 49 in the live test): de-duplicate by urn.
  • the_swarm_profiles_fetchFetch profiles with their data from The Swarm by identifiers. Returns: id, lists, tags, profile_info, found_by. Costs 1 credit per record returned.
  • the_swarm_profiles_refreshFetch an up-to-date (refreshed) profile from The Swarm for a single LinkedIn URL slug. Returns the refreshed ProfileInfo object: id, full_name, headline, current_title, current_company_name, work_email, skills, and more. Required: linkedinName. Costs 3 credits per call (live test).
  • the_swarm_companies_fetchFetch companies with their data from The Swarm by UUIDs or LinkedIn identifiers. Returns: id, company_info, tags, found_by. Costs 1 credit per record returned.
  • list_all_the_swarm_company_search_resultsSearch The Swarm company ids with an ElasticSearch/OpenSearch DSL query (free). Each row is a company id (UUID string) to pass to companies.fetch; the connector pages with pagination_token. Required: query. stable_pagination needs a page size of 1000.
  • create_a_the_swarm_connectorAdd one or more LinkedIn users as connectors to the team by their usernames (profile slugs or full profile URLs). Returns: usernames_not_found, users_added, users_exist. Required: linkedin_usernames. Processes asynchronously.
  • create_a_the_swarm_network_mapCreate a network mapping for a company in The Swarm. Returns mapping results; each item has the matched profile and its connections, including connector details and connection strengths per source (LinkedIn connections, work overlaps, education, shared investors, more). Requires query and mapping_company_website. Required: query, mapping_company_website.
  • the_swarm_network_maps_statusCheck the status of an asynchronous network mapping task in The Swarm. Returns the current task status — one of Unknown, MappingFailed, NotMapped, MappingInProgress, or Mapped. Required: task_id.
  • list_all_the_swarm_post_commentsList comments on a LinkedIn post identified by its urn. Returns each comment with commentary, commenter, created_at, num_reactions, and reaction_type_counts. Required: urn. Max 100 per page. Costs 1 credit per call (live test); about 50 rows a page whatever page size is asked.
  • list_all_the_swarm_post_reactionsList reactions on a LinkedIn post in The Swarm, identified by its urn. Returns: reaction_type, reactor. Required: urn. Max 100 per page. Costs 1 credit per call (live test); about 50 rows a page whatever page size is asked.
  • list_all_the_swarm_post_resharesList reshares of a LinkedIn post in The Swarm. Returns each reshare's urn, commentary, actor, reshared_post, and url. Required: urn. Max 100 per page. Costs 1 credit per call (live test); about 50 rows a page whatever page size is asked.
  • list_all_the_swarm_profile_search_resultsSearch The Swarm profile ids with an ElasticSearch/OpenSearch DSL query (free). Each row is a profile id (UUID string) to pass to profiles.fetch; the connector pages with pagination_token. Required: query. stable_pagination needs a page size of 1000.
  • create_a_the_swarm_teamCreate a child team under the authenticated team in The Swarm. Returns: team_id. Required: team_name. company_website and company_linkedin_url are mutually exclusive.
  • list_all_the_swarm_credit_usageGet the credit usage for your team's current billing period in The Swarm. The team is identified from the API key, and the meter usage for the active billing period is reported. Returns: usage.
  • list_all_the_swarm_relationshipsFind profiles connected to your team in The Swarm by running an ElasticSearch/OpenSearch DSL query. Returns items with each match's profile and connections. Required: query. Max 1000 per page.

AMCP serverno code

For any MCP client

One URL per connected The Swarm account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every The Swarm tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified API

Call The Swarm the same way as your other apps. One mapping to go.

A unified API gives every app in a category the same call and the same data shape. The Swarm is not in one yet. Build your own model, or ask us.

The Swarmon Truto
  1. Sign-in and tokensTruto handles themReady
  2. Proxy APIWorks today, on FreeReady
  3. Unified APIOne mapping to goTo do

Then: one call for every app

  • Path 1 Self-serve

    Build your own model

    • Mapping editor, with version history
    • Live for every connected account
    • No deploy

    Start free

  • Path 2 We do it

    Ask Truto

    • Tell us the The Swarm data you need
    • We add the mapping

    Talk to us

  • Price Add-on

    $499 per category a month

    • 30-day trial on Free
    • Your own unified models: Pro add-on, $499 a month

    See pricing

04Sync and webhooks

Sync The Swarm data on a schedule. Sent to your webhook.

A sync job reads The Swarm records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any The Swarm endpoint. With the Truto CLI.

Need a The Swarm endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any The Swarm path through the Custom API.

On every plan, including Free. Truto CLI

Use cases

Why integrate with The Swarm.

  1. Embed warm intro paths inside CRMs

    CRM and sales platforms can offer users a 'See Connections' card on every Account and Contact record, surfacing who on their team can make a warm introduction without the user leaving the app.

  2. Power relationship-based lead routing

    RevOps and lead routing tools can branch workflows based on relationship strength — routing high-intent inbound leads to the rep with the strongest personal tie, instead of round-robin.

  3. Surface social buying signals for prospecting tools

    Intent data and prospecting platforms can ingest LinkedIn post engagement (comments, reactions, reshares) to detect ICP buyers who are actively engaging with competitor or category content.

  4. Enable intro-led outbound in sales engagement

    Sequencers and outbound tools can check for warm connections before firing cold emails, swapping in AI-drafted forwardable intro requests when a mutual tie exists — raising reply rates and reducing spam.

  5. Automate backdoor references in ATS platforms

    Applicant tracking systems can cross-reference candidates against the hiring company's employee network to flag shared work history, enabling instant, trusted reference checks.

What you can build

Ship these with Truto and The Swarm.

  • Warm intro path widget

    Render a panel on any contact or company record showing exactly which teammates, investors, or advisors are connected to the target, with a relationship strength score.

  • Async network overlap mapping

    Kick off a network map job against a target company domain and poll its status to return a ranked list of intro paths with granular evidence like shared employers and schools.

  • LinkedIn engagement lead extraction

    Pull all commenters, reactors, and resharers of a given LinkedIn post URN to build lead lists from people who are actively engaging with category content.

  • Job-change and profile refresh triggers

    Trigger a profile refresh by LinkedIn handle to detect title or company changes in real time and fire downstream workflows for job-change plays.

  • Multi-tenant team provisioning

    Programmatically spin up child teams and attach LinkedIn connectors so each of your customers gets an isolated relationship graph seeded automatically during onboarding.

  • Relationship-scored lead enrichment

    Enrich inbound leads with a relationship score and matched connector profiles so routing engines can branch between warm-intro and cold-sequence paths.

Security

Your customers’ The Swarm data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Our OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s The Swarm account

    Use Truto’s frontend SDK to connect your customer’s The Swarm account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call The Swarm

    Truto’s Proxy API is a 1-to-1 mapping of the The Swarm API. You call us, we call The Swarm, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate The Swarm’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about The Swarm on Truto.

How do end users authenticate their The Swarm account?

Truto handles the full OAuth and credential exchange for The Swarm on your behalf. Your users connect their account through a Truto-hosted flow or your own embedded UI, and Truto manages token storage, refresh, and revocation.

Which The Swarm operations are supported today?

The integration exposes tools for profiles (fetch, refresh, search), companies (fetch, search), posts (profile and company posts, comments, reactions, reshares), network maps (create and status), relationships, connectors, teams, and credit usage.

How does network map generation work since it's asynchronous?

You call create_a_the_swarm_network_map with a target company website to kick off the job, then poll the_swarm_network_maps_status until the map is ready. Truto normalizes the job lifecycle so you can wire it to webhooks or background workers in your product.

Can we provision isolated graphs for each of our customers?

Yes. You can call create_a_the_swarm_team to spin up a child team per customer and use create_a_the_swarm_connector to attach LinkedIn identities, giving each tenant their own relationship graph without manual onboarding.

How fresh is the profile data returned?

Use the_swarm_profiles_fetch for the cached view and the_swarm_profiles_refresh to force an up-to-date pull of a profile's current title, company, and tags — useful for job-change detection and enrichment triggers.

How are rate limits and credit usage handled?

The Swarm meters usage via credits. You can call list_all_the_swarm_credit_usage to monitor consumption per connected account, and Truto surfaces upstream rate-limit responses so you can back off or queue requests gracefully.

Is there a unified Sales Intelligence API for The Swarm?

Not yet — The Swarm is available as a native passthrough integration with typed tools. You get direct, structured access to its endpoints through Truto without having to build a unified abstraction yourself.

The Swarm

Get The Swarm integrated into your app

Sign up free, connect a test The Swarm account and make your first call today. No card and no sales call.