My Info V4

GET www.hashscraper.com/v4/api/me

Returns basic information about the current API key owner.

Useful for quickly checking which account an API key is bound to. Handy for initial integration debugging or key validation.

Request Parameters

  • Authorization: Header
    HashScraper API key. Send it in the form Bearer <api_key>. You can create several keys on the API & Integrations page; a read-only key works only for GET requests (others return HTTP 403 INSUFFICIENT_SCOPE). An extra key stops working after the expiry date you chose when creating it and is refused with HTTP 401, like a key that is turned off (the default key never expires).
    Example Bearer YOUR_API_KEY

Response Fields

  • result: String
    Result of the request.
    Allowed success, error
  • version: String
    API version.
    Example v4
  • request_id: String
    Request trace ID. Echoed from the client's X-Request-ID header when it starts with req_, otherwise generated by the server (req_<uuid>).
    Example req_5a8c1f1c-...
  • elapsed_sec: Float
    Time the server took to produce the response, in seconds (Float).
    Example 0.0011
  • data: Object
    Current user info.
    • email: String
      User email.
      Example dev@example.com
    • name: String
      User name.
      Example Sample User

Error Responses

  • MISSING_API_KEY
    Authorization header is missing. (HTTP 401)
    {
      "result": "error",
      "version": "v4",
      "request_id": "req_5a8c1f1c-...",
      "code": "MISSING_API_KEY",
      "message": "API key is missing.",
      "elapsed_sec": 0.0008,
      "details": { "hint": "Send `Authorization: Bearer <api_key>` header." }
    }
  • INVALID_API_KEY
    The provided API key is invalid. (HTTP 401)
    {
      "result": "error",
      "version": "v4",
      "request_id": "req_5a8c1f1c-...",
      "code": "INVALID_API_KEY",
      "message": "API key is invalid.",
      "elapsed_sec": 0.0011
    }

Related Guides

Example Request
  • cURL
  • Ruby
  • Python
  • NodeJS
  • PHP
  • Java
Example Response 200
{
  "result": "success",
  "version": "v4",
  "request_id": "req_5a8c1f1c-9b2d-4e7c-9abf-3f7e0a4d1b21",
  "elapsed_sec": 0.0011,
  "data": {
    "email": "dev@example.com",
    "name": "Sample User"
  }
}