1. Introduction to the Edges API
The Edges API allows you to extract data and enrich your existing datasets through our Actions. Whether you’re building custom integrations or scaling operations, the API offers flexibility and efficiency. For more details, see our API Reference Documentation.2. Setting Up the API
Follow these steps to get your API Key:- Log in to your Edges account
- Navigate to the Developer Settings section
- Copy your personal API key
Keep your API key secure—treat it like a password. Each API key is tied to
your specific member’s account.
3. Using Actions
Understanding Actions
An Action is a specific operation that can extract data, enrich existing data, or automate interactions. Actions can perform tasks like sending connection requests, sending messages, extracting message histories, and much more - all in real-time with immediate results.How to Use an Action
- Browse the Actions Library to find the Action you need, e.g. Extract LinkedIn People
- Note the Action’s unique identifier from its URL
- Use the Action’s identifier to make API calls
- Executing the Action will consume credits based on the number of results returned — learn how credits are billed.
Prerequisites: Identities & Integrations
Most Actions, especially those automating LinkedIn, require one or more Identities with connected Integrations. You’ll know you need these when you seeidentity_ids
in the API payload.
To set this up:
- First, Create an Identity to represent your end-user or AI agent
- Then, Connect an Integration for that identity (e.g., connect their LinkedIn account)
Some Actions don’t require Identities or Integrations. Check the Action’s
payload for
identity_ids
- if present, you’ll need to set up Identities
and connect their integrations first.- Connect your users’ LinkedIn accounts using Username/Password Authentication
- Use our pre-configured Managed LinkedIn Identities
Making API Calls
Each Action accepts a single input and returns results in real-time. The response format depends on the Action type:- Enrichment Actions: Generally return one enriched result per input
- Search Actions: Can return multiple results, with pagination support for larger result sets
Quick Start with Managed Mode
The easiest way to get started is using managed mode, which uses Edges’s pre-configured accounts:Managed mode cost: Using
identity_mode: "managed"
costs 1.5× the standard credit cost but requires no setup.Using Your Own Identities
For production use, cost optimization, or specific use cases (like using your users’ own LinkedIn accounts), you can set up identities and integrations as described in the prerequisites section above.Need help choosing? See our complete guide on LinkedIn Identities Options: Sync, Rent, or Use Managed for detailed comparisons and use case recommendations.
The response format is the same regardless of whether you use managed mode or your own identities.
4. Error Handling
The API uses a consistent error response format across all endpoints. When an error occurs, you’ll receive a response with the following structure:error_label
: A machine-readable identifier for the error typeerror_scope
: Indicates which part of the request caused the error (e.g., “input”, “auth”, “server”)error_ref
: A unique reference code for tracking and debuggingmessage
: A human-readable description of the errorstatus_code
: The HTTP status codeparams
: Additional error parameters (if any)
200
: The request was successful (some API calls may return 201 instead)400
: Bad Request - Invalid input or parameters401
: Unauthorized - Invalid or missing API key403
: Forbidden - Insufficient permissions404
: Not Found - Resource doesn’t exist500
: Internal Server Error - Server-side issue
Always check the
error_label
and error_scope
fields to programmatically
handle different types of errors in your application.If you encounter an unusual error, such as a 500 or 503, feel free to reach
out! These are internal errors on our end, and we’re happy to help resolve
them.