> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Generate Random User Profiles

> Generate Random User Profiles

## 请求规范

* **方法与路径:** POST /apis/v1/api-ninjas/generate-random-user
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/api-ninjas/generate-random-user`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/api-ninjas.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "api-ninjas.generate-random-user",
  "method": "POST",
  "path": "/apis/v1/api-ninjas/generate-random-user",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "count": {
              "default": 10,
              "description": "Number of random user profiles to generate. Must be between 1 and 30. Default: 10",
              "examples": [
                1,
                5,
                10
              ],
              "maximum": 30,
              "minimum": 1,
              "type": "integer"
            },
            "exclude": {
              "description": "Profile fields to exclude from the response. All other fields are returned.",
              "examples": [
                [
                  "ssn",
                  "credit_card",
                  "iban"
                ],
                [
                  "password",
                  "ipv4",
                  "ipv6"
                ]
              ],
              "items": {
                "enum": [
                  "id",
                  "username",
                  "password",
                  "email",
                  "uuid",
                  "locale",
                  "name",
                  "first_name",
                  "last_name",
                  "full_name",
                  "prefix",
                  "suffix",
                  "phone",
                  "cell",
                  "company_email",
                  "street_address",
                  "city",
                  "state",
                  "postal_code",
                  "country",
                  "address",
                  "latitude",
                  "longitude",
                  "timezone",
                  "dob",
                  "age",
                  "gender",
                  "job",
                  "company",
                  "ssn",
                  "credit_card",
                  "credit_card_provider",
                  "iban",
                  "ipv4",
                  "ipv6",
                  "mac_address",
                  "user_agent",
                  "url",
                  "domain",
                  "md5",
                  "sha1",
                  "sha256",
                  "picture",
                  "avatar"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "fields": {
              "description": "Profile fields to include in the response. Only these fields are returned.",
              "examples": [
                [
                  "first_name",
                  "last_name",
                  "email"
                ],
                [
                  "username",
                  "phone"
                ]
              ],
              "items": {
                "enum": [
                  "id",
                  "username",
                  "password",
                  "email",
                  "uuid",
                  "locale",
                  "name",
                  "first_name",
                  "last_name",
                  "full_name",
                  "prefix",
                  "suffix",
                  "phone",
                  "cell",
                  "company_email",
                  "street_address",
                  "city",
                  "state",
                  "postal_code",
                  "country",
                  "address",
                  "latitude",
                  "longitude",
                  "timezone",
                  "dob",
                  "age",
                  "gender",
                  "job",
                  "company",
                  "ssn",
                  "credit_card",
                  "credit_card_provider",
                  "iban",
                  "ipv4",
                  "ipv6",
                  "mac_address",
                  "user_agent",
                  "url",
                  "domain",
                  "md5",
                  "sha1",
                  "sha256",
                  "picture",
                  "avatar"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "gender": {
              "description": "Gender filter for random user generation",
              "enum": [
                "male",
                "female",
                "nonbinary",
                "any"
              ],
              "examples": [
                "male",
                "female",
                "nonbinary",
                "any"
              ],
              "type": "string"
            },
            "locale": {
              "description": "Locale for generating localized data such as names, addresses, and phone numbers. Use standard locale codes like 'en_US' (English - United States), 'de_DE' (German - Germany), 'fr_FR' (French - France), 'es_ES' (Spanish - Spain), etc. Default: 'en_US'",
              "examples": [
                "en_US",
                "de_DE",
                "fr_FR",
                "es_ES"
              ],
              "type": "string"
            },
            "max_age": {
              "description": "Maximum age for generated users. Must be between 0 and 1000. Default: 100",
              "examples": [
                50,
                65,
                100
              ],
              "maximum": 1000,
              "minimum": 0,
              "type": "integer"
            },
            "min_age": {
              "description": "Minimum age for generated users. Must be between 0 and 1000. Default: 0",
              "examples": [
                18,
                25,
                30
              ],
              "maximum": 1000,
              "minimum": 0,
              "type": "integer"
            },
            "seed": {
              "description": "Seed value for reproducible random data generation. Using the same seed value will always produce the same set of random users, which is useful for testing or creating consistent demo data.",
              "examples": [
                "my-test-seed-123",
                "demo-data-v1"
              ],
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际用量收费。 默认请求预估费用：\$0.00089 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/api-ninjas.json POST /apis/v1/api-ninjas/generate-random-user
openapi: 3.1.0
info:
  description: ''
  title: API Ninjas
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    api-ninjas:
      description: ''
      title: API Ninjas
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: c53874b9873c34f8b75946805271eab819d6d2336f5199ae157e7fafd0da6653
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/api-ninjas/analyze-sentiment
    - /apis/v1/api-ninjas/barcode-generate
    - /apis/v1/api-ninjas/bitcoin
    - /apis/v1/api-ninjas/calculate-calories-burned
    - /apis/v1/api-ninjas/calculate-mortgage
    - /apis/v1/api-ninjas/calculate-sales-tax
    - /apis/v1/api-ninjas/check-domain
    - /apis/v1/api-ninjas/check-is-public-holiday
    - /apis/v1/api-ninjas/check-is-working-day
    - /apis/v1/api-ninjas/check-spelling
    - /apis/v1/api-ninjas/commodity-price
    - /apis/v1/api-ninjas/compute-text-similarity
    - /apis/v1/api-ninjas/convert-currency
    - /apis/v1/api-ninjas/convert-unit
    - /apis/v1/api-ninjas/crypto-price
    - /apis/v1/api-ninjas/detect-text-language
    - /apis/v1/api-ninjas/disposable-email-checker
    - /apis/v1/api-ninjas/dns-lookup
    - /apis/v1/api-ninjas/earnings-calendar
    - /apis/v1/api-ninjas/earnings-call-transcript
    - /apis/v1/api-ninjas/etf-info
    - /apis/v1/api-ninjas/extract-webpage-content
    - /apis/v1/api-ninjas/filter-profanity
    - /apis/v1/api-ninjas/find-ev-charging-stations
    - /apis/v1/api-ninjas/generate-lorem-ipsum
    - /apis/v1/api-ninjas/generate-password
    - /apis/v1/api-ninjas/generate-qr-code
    - /apis/v1/api-ninjas/generate-random-user
    - /apis/v1/api-ninjas/generate-sudoku
    - /apis/v1/api-ninjas/generate-text-embeddings
    - /apis/v1/api-ninjas/generate-user-agent
    - /apis/v1/api-ninjas/get-advice
    - /apis/v1/api-ninjas/get-air-quality
    - /apis/v1/api-ninjas/get-aircraft
    - /apis/v1/api-ninjas/get-airports
    - /apis/v1/api-ninjas/get-animals
    - /apis/v1/api-ninjas/get-baby-names
    - /apis/v1/api-ninjas/get-bucketlist
    - /apis/v1/api-ninjas/get-cats
    - /apis/v1/api-ninjas/get-celebrity
    - /apis/v1/api-ninjas/get-chuck-norris-joke
    - /apis/v1/api-ninjas/get-city
    - /apis/v1/api-ninjas/get-cocktail
    - /apis/v1/api-ninjas/get-company-logo
    - /apis/v1/api-ninjas/get-country-flag
    - /apis/v1/api-ninjas/get-country-info
    - /apis/v1/api-ninjas/get-county
    - /apis/v1/api-ninjas/get-dad-joke
    - /apis/v1/api-ninjas/get-day-in-history
    - /apis/v1/api-ninjas/get-dictionary-definition
    - /apis/v1/api-ninjas/get-dogs
    - /apis/v1/api-ninjas/get-earnings
    - /apis/v1/api-ninjas/get-electric-vehicle-info
    - /apis/v1/api-ninjas/get-emoji
    - /apis/v1/api-ninjas/get-exchange-rate
    - /apis/v1/api-ninjas/get-exercises
    - /apis/v1/api-ninjas/get-fact-of-the-day
    - /apis/v1/api-ninjas/get-facts
    - /apis/v1/api-ninjas/get-gdp
    - /apis/v1/api-ninjas/get-geocoding
    - /apis/v1/api-ninjas/get-helicopter
    - /apis/v1/api-ninjas/get-historical-events
    - /apis/v1/api-ninjas/get-historical-figures
    - /apis/v1/api-ninjas/get-hobbies
    - /apis/v1/api-ninjas/get-horoscope
    - /apis/v1/api-ninjas/get-hospitals
    - /apis/v1/api-ninjas/get-income-tax
    - /apis/v1/api-ninjas/get-insider-transactions
    - /apis/v1/api-ninjas/get-ip-lookup
    - /apis/v1/api-ninjas/get-joke-of-the-day
    - /apis/v1/api-ninjas/get-jokes
    - /apis/v1/api-ninjas/get-motorcycles
    - /apis/v1/api-ninjas/get-mutual-fund
    - /apis/v1/api-ninjas/get-mx-records
    - /apis/v1/api-ninjas/get-planets
    - /apis/v1/api-ninjas/get-population
    - /apis/v1/api-ninjas/get-postal-code
    - /apis/v1/api-ninjas/get-property-tax
    - /apis/v1/api-ninjas/get-public-holidays
    - /apis/v1/api-ninjas/get-quote-of-the-day
    - /apis/v1/api-ninjas/get-random-image
    - /apis/v1/api-ninjas/get-random-quotes
    - /apis/v1/api-ninjas/get-random-word
    - /apis/v1/api-ninjas/get-reverse-geocoding
    - /apis/v1/api-ninjas/get-rhymes
    - /apis/v1/api-ninjas/get-riddles
    - /apis/v1/api-ninjas/get-sales-tax
    - /apis/v1/api-ninjas/get-sec-filing
    - /apis/v1/api-ninjas/get-stars
    - /apis/v1/api-ninjas/get-stock-exchange
    - /apis/v1/api-ninjas/get-stock-price
    - /apis/v1/api-ninjas/get-swift-code
    - /apis/v1/api-ninjas/get-thesaurus
    - /apis/v1/api-ninjas/get-ticker
    - /apis/v1/api-ninjas/get-timezone
    - /apis/v1/api-ninjas/get-trivia
    - /apis/v1/api-ninjas/get-trivia-of-the-day
    - /apis/v1/api-ninjas/get-unemployment
    - /apis/v1/api-ninjas/get-university
    - /apis/v1/api-ninjas/get-url-lookup
    - /apis/v1/api-ninjas/get-weather
    - /apis/v1/api-ninjas/get-weather-forecast
    - /apis/v1/api-ninjas/get-whois
    - /apis/v1/api-ninjas/get-working-days
    - /apis/v1/api-ninjas/get-worldtime
    - /apis/v1/api-ninjas/get-zipcode
    - /apis/v1/api-ninjas/iban-lookup
    - /apis/v1/api-ninjas/income-tax-calculator
    - /apis/v1/api-ninjas/inflation
    - /apis/v1/api-ninjas/list-stock-tickers
    - /apis/v1/api-ninjas/lookup-vin
    - /apis/v1/api-ninjas/market-cap
    - /apis/v1/api-ninjas/nutrition
    - /apis/v1/api-ninjas/scrape-website
    - /apis/v1/api-ninjas/solve-sudoku
    - /apis/v1/api-ninjas/validate-email
    - /apis/v1/api-ninjas/validate-eu-vat
    - /apis/v1/api-ninjas/validate-phone
    - /apis/v1/api-ninjas/validate-routing-number
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:b75f8353d10e549220f9abe124ac796063a1832bc027831191f56e4f4ceab81a
    facts_hash: c53874b9873c34f8b75946805271eab819d6d2336f5199ae157e7fafd0da6653
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: api-ninjas
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/api-ninjas/generate-random-user:
    post:
      tags:
        - API Ninjas
      summary: Generate Random User Profiles
      operationId: api-ninjas.generate-random-user
      requestBody:
        content:
          application/json:
            schema:
              properties:
                count:
                  default: 10
                  description: >-
                    Number of random user profiles to generate. Must be between
                    1 and 30. Default: 10
                  examples:
                    - 1
                    - 5
                    - 10
                  maximum: 30
                  minimum: 1
                  type: integer
                exclude:
                  description: >-
                    Profile fields to exclude from the response. All other
                    fields are returned.
                  examples:
                    - - ssn
                      - credit_card
                      - iban
                    - - password
                      - ipv4
                      - ipv6
                  items:
                    enum:
                      - id
                      - username
                      - password
                      - email
                      - uuid
                      - locale
                      - name
                      - first_name
                      - last_name
                      - full_name
                      - prefix
                      - suffix
                      - phone
                      - cell
                      - company_email
                      - street_address
                      - city
                      - state
                      - postal_code
                      - country
                      - address
                      - latitude
                      - longitude
                      - timezone
                      - dob
                      - age
                      - gender
                      - job
                      - company
                      - ssn
                      - credit_card
                      - credit_card_provider
                      - iban
                      - ipv4
                      - ipv6
                      - mac_address
                      - user_agent
                      - url
                      - domain
                      - md5
                      - sha1
                      - sha256
                      - picture
                      - avatar
                    type: string
                  type: array
                fields:
                  description: >-
                    Profile fields to include in the response. Only these fields
                    are returned.
                  examples:
                    - - first_name
                      - last_name
                      - email
                    - - username
                      - phone
                  items:
                    enum:
                      - id
                      - username
                      - password
                      - email
                      - uuid
                      - locale
                      - name
                      - first_name
                      - last_name
                      - full_name
                      - prefix
                      - suffix
                      - phone
                      - cell
                      - company_email
                      - street_address
                      - city
                      - state
                      - postal_code
                      - country
                      - address
                      - latitude
                      - longitude
                      - timezone
                      - dob
                      - age
                      - gender
                      - job
                      - company
                      - ssn
                      - credit_card
                      - credit_card_provider
                      - iban
                      - ipv4
                      - ipv6
                      - mac_address
                      - user_agent
                      - url
                      - domain
                      - md5
                      - sha1
                      - sha256
                      - picture
                      - avatar
                    type: string
                  type: array
                gender:
                  description: Gender filter for random user generation
                  enum:
                    - male
                    - female
                    - nonbinary
                    - any
                  examples:
                    - male
                    - female
                    - nonbinary
                    - any
                  type: string
                locale:
                  description: >-
                    Locale for generating localized data such as names,
                    addresses, and phone numbers. Use standard locale codes like
                    'en_US' (English - United States), 'de_DE' (German -
                    Germany), 'fr_FR' (French - France), 'es_ES' (Spanish -
                    Spain), etc. Default: 'en_US'
                  examples:
                    - en_US
                    - de_DE
                    - fr_FR
                    - es_ES
                  type: string
                max_age:
                  description: >-
                    Maximum age for generated users. Must be between 0 and 1000.
                    Default: 100
                  examples:
                    - 50
                    - 65
                    - 100
                  maximum: 1000
                  minimum: 0
                  type: integer
                min_age:
                  description: >-
                    Minimum age for generated users. Must be between 0 and 1000.
                    Default: 0
                  examples:
                    - 18
                    - 25
                    - 30
                  maximum: 1000
                  minimum: 0
                  type: integer
                seed:
                  description: >-
                    Seed value for reproducible random data generation. Using
                    the same seed value will always produce the same set of
                    random users, which is useful for testing or creating
                    consistent demo data.
                  examples:
                    - my-test-seed-123
                    - demo-data-v1
                  type: string
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response576A0Ea506F3_connect_API_NINJAS_GENERATE_RANDOM_USER__output__public_data
          description: Tool result data
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response576A0Ea506F3_connect_API_NINJAS_GENERATE_RANDOM_USER__output__public_data:
      $ref: >-
        #/components/schemas/Response576A0Ea506F3_connect_API_NINJAS_GENERATE_RANDOM_USER__output__5bb83cc89c91a35e
    Response576A0Ea506F3_connect_API_NINJAS_GENERATE_RANDOM_USER__output__5bb83cc89c91a35e:
      items:
        $ref: >-
          #/components/schemas/Response576A0Ea506F3_connect_API_NINJAS_GENERATE_RANDOM_USER__output__2ff931b40818a8f5
      type: array
    Response576A0Ea506F3_connect_API_NINJAS_GENERATE_RANDOM_USER__output__2ff931b40818a8f5:
      properties:
        address:
          type: string
        age:
          type: integer
        avatar:
          type: string
        cell:
          type: string
        city:
          type: string
        company:
          type: string
        company_email:
          type: string
        country:
          type: string
        credit_card:
          type: string
        credit_card_provider:
          type: string
        dob:
          type: string
        domain:
          type: string
        email:
          type: string
        first_name:
          type: string
        full_name:
          type: string
        gender:
          type: string
        iban:
          type: string
        id:
          type: string
        ipv4:
          type: string
        ipv6:
          type: string
        job:
          type: string
        last_name:
          type: string
        latitude:
          type: number
        locale:
          type: string
        longitude:
          type: number
        mac_address:
          type: string
        md5:
          type: string
        name:
          type: string
        password:
          type: string
        phone:
          type: string
        picture:
          type: string
        postal_code:
          type: string
        prefix:
          type: string
        sha1:
          type: string
        sha256:
          type: string
        ssn:
          type: string
        state:
          type: string
        street_address:
          type: string
        suffix:
          type: string
        timezone:
          type: string
        url:
          type: string
        user_agent:
          type: string
        username:
          type: string
        uuid:
          type: string
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.