markets.sh
PricingContact
Log InGet started→

Integration guide

Connect Affinity CRM to Markets

Bring your own Affinity API key to search and retrieve CRM data on demand. The initial integration is read-only and does not run a background sync.

Before you begin

You need a Markets account and an Affinity Scale, Advanced, or Enterprise plan. Affinity trials do not include API access. The connected Affinity user also needs the Generate an API keypermission. See Affinity's API access FAQ. Affinity also applies your existing list, resource, and endpoint permissions to every request.

For all connector features, grant that user Export All People directory, Export All Organizations directory, and Export data from Lists. Affinity resource-sharing rules still control which records and lists the user can read.

If your Affinity app restricts API keys by IP address, your Markets operator must configure stable Hyperlist backend egress and allow those outbound addresses before validating the key. Do not weaken a production IP allowlist to complete setup.

See Affinity's official authentication guide and permissions guide.

Connect your account

  1. In Affinity, open Settings → Manage Apps and create a dedicated API key for Markets. Treat the key like a password.
  2. Open Connections in Markets, find Affinity CRM, and select Connect.
  3. Paste the Affinity API key and save the connection.
  4. Markets verifies the key with Affinity's pinned v2 /v2/auth/whoami endpoint before storing it. A successful check identifies the Affinity tenant and user shown on the connection.
Open Connections

Read-only operations

Markets exposes four bounded operations. They run only when you or an authorized teammate asks Markets to use the connection.

Search entities

entities.search

Search people, companies, and opportunities by name, email, or domain.

Get an entity

entities.get

Retrieve one person, company, or opportunity by its Affinity ID.

List lists

lists.list

List the Affinity lists the connected user can access.

List entries

list_entries.list

Read rows and supported field categories from a selected Affinity list.

Read-only means read-only in Markets: an Affinity API key may be able to make changes when used elsewhere, but this integration exposes no create, update, or delete operation.

API v1 and v2

Markets supports both Affinity APIs because v2 is not yet at feature parity with v1. Every v2 request is pinned to the stable 2024-01-01 version.

  • Entity search uses v1 by default. The v2 person and company search endpoints are beta, and v2 has no free-text opportunity search.
  • Entity retrieval, list discovery, and list-entry reads use v2 by default. Their v1 forms remain available for explicit compatibility requests.
  • Markets never silently retries a failed request against the other API version. Authentication, permission, rate-limit, and provider errors remain visible.

Learn more in Affinity's official v2 versioning guide and v1 API reference.

Rotate your API key

  1. Review the warning in Affinity Manage Apps before generating a key. In some account flows, generating a key may replace or invalidate the current one.
  2. If Affinity permits both keys to overlap, keep the old key active until Markets validates the replacement. If generating the new key invalidates the current one, plan a brief reconnect window and update Markets immediately after generation.
  3. In Markets Connections, open the connected Affinity account and select Update key.
  4. Paste the replacement. Markets verifies its tenant and user identity before replacing the encrypted stored key.
  5. If the old key remains active after the update succeeds, revoke it in Affinity.

Disconnect Affinity

  1. Open Connections and find the connected Affinity account.
  2. Select Disconnect and confirm.
  3. Revoke the API key in Affinity Manage Apps if nothing else uses it.

Markets deletes the stored credential immediately. The disconnected connection remains visible during its audit grace period, but disconnecting Markets cannot revoke a user-managed key inside Affinity.

Need help?

Contact [email protected] or use our contact form. For provider behavior, use Affinity's official developer documentation.

Footer

markets.sh

Company data pulled live from European registers, annual filings, websites, and news.

Product

  • Hypertable Workbooks
  • Data & Connectors
  • How It Compares
  • Data API
  • News API
  • MCP Server

Industries

  • Investing & PE
  • M&A advisory
  • Corporate development
  • Sales & BD
  • Media & intelligence
  • Recruiting & talent

Resources

  • Pricing
  • FAQ
  • Contact
  • Changelog
  • API Docs
  • MCP Server
  • HubSpot Sync
  • Affinity Sync
  • API Status
  • Dashboard

Legal

  • Legal
  • Privacy
  • Cookie settings
  • Imprint
  • EULA
© 2026 markets.sh GmbH · Gipsstr. 5 · 10119 Berlin
HRB 246277 B · Amtsgericht CharlottenburgLinkedInX