MockHero

api_key

Technical

Generate realistic-looking API key strings with proper prefixes and formatting. For API management dashboards, key rotation testing, and developer portal seeding.

Example Outputs

mk_live_a1b2c3d4e5f6sk_test_abc123def456pk_prod_xyz789

API Usage

Send a POST request to generate api key data:

curl -X POST https://mockhero.dev/api/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tables": [
    {
      "name": "example",
      "count": 5,
      "fields": [
        {
          "name": "api_key",
          "type": "api_key"
        }
      ]
    }
  ]
}'

Common Use Cases

  • API management testing
  • Developer portal seeding
  • Key rotation testing
  • Access control testing

Quick Info

Field Type
api_key
Category
Technical
Parameters
None required
Output Format
JSON, CSV, SQL

Try it now

Generate api key data instantly in the playground.

Generate API Key + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free