# Find Public X Accounts in San Francisco

**Use case:** 

Find established public X accounts whose self-reported profile location contains San Francisco and export profiles with website and activity data.

## Input

```json
{
  "searchQueries": [
    "San Francisco"
  ],
  "maxUsersPerQuery": 20,
  "minFollowers": 1000,
  "maxFollowers": 10000000,
  "minTweets": 100,
  "verification": "any",
  "visibility": "public",
  "requireWebsite": true,
  "locationKeywords": [
    "San Francisco"
  ],
  "createdAfter": "2006-01-01",
  "createdBefore": "2026-12-31"
}
```

## Output

```json
{
  "status": {
    "label": "Status",
    "format": "string"
  },
  "message": {
    "label": "Message",
    "format": "string"
  },
  "results_saved": {
    "label": "Matching profiles saved",
    "format": "integer"
  },
  "search_query": {
    "label": "Search query",
    "format": "string"
  },
  "user_id": {
    "label": "User ID",
    "format": "string"
  },
  "screen_name": {
    "label": "Screen name",
    "format": "string"
  },
  "profile_url": {
    "label": "X profile URL",
    "format": "string"
  },
  "name": {
    "label": "Name",
    "format": "string"
  },
  "description": {
    "label": "Bio",
    "format": "string"
  },
  "grok_translated_bio": {
    "label": "Grok translated bio",
    "format": "string"
  },
  "location": {
    "label": "Location",
    "format": "string"
  },
  "followers_count": {
    "label": "Followers",
    "format": "integer"
  },
  "friends_count": {
    "label": "Following",
    "format": "integer"
  },
  "tweets_count": {
    "label": "Posts",
    "format": "integer"
  },
  "media_count": {
    "label": "Media posts",
    "format": "integer"
  },
  "verified": {
    "label": "Verified",
    "format": "boolean"
  },
  "is_blue_verified": {
    "label": "Blue verified",
    "format": "boolean"
  },
  "verified_type": {
    "label": "Verified type",
    "format": "string"
  },
  "account_label": {
    "label": "Account label",
    "format": "string"
  },
  "professional_type": {
    "label": "Professional type",
    "format": "string"
  },
  "professional_categories": {
    "label": "Professional categories",
    "format": "array"
  },
  "affiliation_name": {
    "label": "Affiliation",
    "format": "string"
  },
  "protected": {
    "label": "Protected",
    "format": "boolean"
  },
  "website_url": {
    "label": "Website URL",
    "format": "string"
  },
  "profile_image_url": {
    "label": "Profile image",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [X (Twitter) People Search Scraper – Find X Users](https://apify.com/arjun_code/x-twitter-people-search-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/arjun_code/x-twitter-people-search-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/arjun_code/x-twitter-people-search-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
