# Search Contra Freelancers API

> Search contra.com's public directory of independent professionals by role or free text. Returns each profile's name, headline, roles, location, review average and count, follower and hire counts, availability and minimum hourly rate. Reads Contra's discover page. Contra has served that directory only to logged-in visitors since 2026-10-14, so an anonymous call now fails with UPSTREAM_BLOCKED (sign-up wall) instead of returning profiles.

Category: [Social Media APIs](https://upapi.io/apis/social-media) · Last updated 2026-10-31

## How to call it

- Endpoint: `POST https://api.upapi.io/contra-discover-people.get`, key in the `X-Api-Key` header, JSON body.
- Cost: 5 weighted units per call.
- Timeout: 45 seconds.
- Cache: identical requests are served from cache for 300 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/contra-discover-people.get

```bash
curl -X POST https://api.upapi.io/contra-discover-people.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "query": "typescript" }'
```

## Request parameters

- `query` (string) — Free-text search over profiles. Omit to browse by role only.
- `roles` (array) — Contra role names to filter on, e.g. ["Web Developer", "Brand Designer"]. Omit for the unfiltered directory.
- `proxyUrl` (string) — User-provided proxy URL. Omit to use the operation's own datacenter pool.

## Response fields

- `url` (string, required)
- `query` (string, required)
- `roles` (array, required)
- `people` (array, required)
- `people[].id` (string, required)
- `people[].name` (string, required)
- `people[].roles` (array, required)
- `people[].title` (string, required)
- `people[].location` (string, required)
- `people[].username` (string, required)
- `people[].avatarUrl` (string, required)
- `people[].hiredCount` (integer, required)
- `people[].profileUrl` (string, required)
- `people[].followerCount` (integer, required)
- `people[].isNewToContra` (boolean, required)
- `people[].reviewSummary` (object, required)
- `people[].workPreferences` (object, required)
- `people[].isQuickResponder` (boolean, required)
- `people[].professionalTitle` (string, required)
- `people[].visitorIsFollowing` (boolean, required)
- `people[].canReceiveInquiries` (boolean, required)
- `people[].platformEarningsBadge` (string, required)
- `elapsedMs` (integer, required)
- `fetchedAt` (string, required)
- `resultCount` (integer, required)

## Example request and response

The example response is generated from the published output schema: it shows the shape and field names, not values from a recorded call.

```json
{
  "query": "typescript"
}
```

```json
{
  "url": "https://github.com",
  "query": "typescript",
  "roles": [
    "example"
  ],
  "people": [
    {
      "id": "example",
      "name": "example",
      "roles": [
        "example"
      ],
      "title": "Alan Turing",
      "location": "example",
      "username": "torvalds",
      "avatarUrl": "example",
      "hiredCount": 1,
      "profileUrl": "example",
      "followerCount": 1,
      "isNewToContra": false,
      "reviewSummary": {
        "count": null,
        "averageScore": null
      },
      "workPreferences": {
        "minimumHourlyRate": null,
        "isCurrentlyAvailable": null
      },
      "isQuickResponder": false,
      "professionalTitle": "example",
      "visitorIsFollowing": false,
      "canReceiveInquiries": false,
      "platformEarningsBadge": "example"
    }
  ],
  "elapsedMs": 1,
  "fetchedAt": "example",
  "resultCount": 1
}
```

## Frequently asked questions

### How much does the Search Contra Freelancers API cost per call?

Each call spends 5 weighted units of your plan's monthly quota. Full pricing is at https://upapi.io/pricing.

### How do I authenticate to the Search Contra Freelancers API?

Send your key in the X-Api-Key header. A free guest key is available without creating an account.

### Are Search Contra Freelancers API responses cached?

Yes — identical requests are served from cache for 300 seconds, and a cache hit is not billed.

## More Social Media APIs

- [Get Contra Company Profile](https://upapi.io/apis/social-media/contra-company-profile)
- [Send Contra Message](https://upapi.io/apis/social-media/contra-send-message)
- [Unfollow Contra Profile](https://upapi.io/apis/social-media/contra-unfollow-user)
- [Apply To Contra Job](https://upapi.io/apis/social-media/contra-apply-to-job)
- [Check Contra Session](https://upapi.io/apis/social-media/contra-check-session)
- [Follow Contra Profile](https://upapi.io/apis/social-media/contra-follow-user)
- [Get Contra Opportunity](https://upapi.io/apis/social-media/contra-job-detail)
- [List Contra Conversations](https://upapi.io/apis/social-media/contra-list-conversations)
