> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.wealthatlas.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.wealthatlas.com/_mcp/server.

# Look up any person's connections

POST https://api.wealthatlas.com/v1/partners/networks/lookup
Content-Type: application/json

Given any person ID, compute their strongest connections across the entire WealthAtlas database. Results are ranked by connection strength (strongest first). This does not require the person to be in a network — connections are computed at query time. This endpoint can take up to 20 seconds depending on how many affiliations the person has.

**Cost: 1 credit.**

Reference: https://developer.wealthatlas.com/api-reference/network/lookup-connections

## Authentication

- `x-api-key` header (required) — Your WealthAtlas API key. Contact support@wealthatlas.com to get started.

## Request

### Body (application/json)

This endpoint expects a LookupRequest.

- `person_id` (string, required) — WealthAtlas person ID to look up connections for
- `limit` (integer, optional, default: 20) — Maximum number of connections to return
- `min_strength` (double, optional, default: 0.45) — Minimum connection strength threshold. Unlike network-based endpoints, lookup computes connections at query time, so the full 0.0–1.0 range is available

## Response

### 200

Successful Response

- `connections` (list of LookupConnection, required)
- `total_found` (integer, required) — Total connections found above min_strength (before limit)
- `person` (PersonCard, optional, nullable) — The queried person's profile

## Errors

### 402 Payment Required Error

Out of credits in the bucket this endpoint charges (buckets are strictly isolated)

- `error` (string, required)
- `message` (string, required)
- `bucket` (string, required) — The credit bucket that was exhausted
- `available_credits` (integer, required)

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### LookupConnection

A connection found during a stateless lookup

- `person` (PersonCard, required) — The connected person
- `strength` (double, required) — Connection strength from 0.0 (weak) to 1.0 (strong)
- `snippet` (string, optional, nullable) — Brief human-readable label, e.g. 'Same board, 4 years overlap'
- `connecting_entity_name` (string, optional, nullable) — Name of the shared organization
- `connecting_entity_type` (string, optional, nullable) — Type: 'nonprofit', 'company', or 'school'
- `source_relationship` (string, optional, nullable) — How the queried person relates to the entity
- `target_relationship` (string, optional, nullable) — How the connected person relates to the entity

### PersonCard

A person summary card. Matches the shape returned by the search endpoint

- `id` (string, required) — WealthAtlas person ID
- `name` (string, optional, default: ) — Full name
- `bio` (string, optional, default: ) — Short biography
- `city` (string, optional, default: ) — City of residence
- `state` (string, optional, default: ) — State of residence
- `giving_capacity` (integer, optional, nullable) — Estimated annual giving capacity in dollars
- `net_worth_min` (integer, optional, nullable) — Minimum estimated net worth in dollars
- `net_worth_max` (integer, optional, nullable) — Maximum estimated net worth in dollars
- `primary_photo` (string, optional, nullable) — A signed URL for the primary photo, valid for at least an hour. Fetch the image when you need it rather than storing the URL

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `input` (any, optional)
- `ctx` (ValidationErrorCtx, optional)

### ValidationErrorLocItems

- string
- integer

### ValidationErrorCtx

## Examples

**Request**

```json
{
  "person_id": "abc123"
}
```

**Response**

```json
{
  "connections": [
    {
      "person": {
        "id": "string",
        "name": "",
        "bio": "",
        "city": "",
        "state": "",
        "giving_capacity": 1,
        "net_worth_min": 1,
        "net_worth_max": 1,
        "primary_photo": "string"
      },
      "strength": 1.1,
      "snippet": "string",
      "connecting_entity_name": "string",
      "connecting_entity_type": "string",
      "source_relationship": "string",
      "target_relationship": "string"
    }
  ],
  "total_found": 1,
  "person": {
    "id": "string",
    "name": "",
    "bio": "",
    "city": "",
    "state": "",
    "giving_capacity": 1,
    "net_worth_min": 1,
    "net_worth_max": 1,
    "primary_photo": "string"
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.wealthatlas.com/v1/partners/networks/lookup"

payload = { "person_id": "abc123" }
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.wealthatlas.com/v1/partners/networks/lookup';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"person_id":"abc123"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.wealthatlas.com/v1/partners/networks/lookup"

	payload := strings.NewReader("{\n  \"person_id\": \"abc123\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.wealthatlas.com/v1/partners/networks/lookup")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"person_id\": \"abc123\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.wealthatlas.com/v1/partners/networks/lookup")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"person_id\": \"abc123\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.wealthatlas.com/v1/partners/networks/lookup', [
  'body' => '{
  "person_id": "abc123"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.wealthatlas.com/v1/partners/networks/lookup");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"person_id\": \"abc123\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["person_id": "abc123"] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.wealthatlas.com/v1/partners/networks/lookup")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```