Skip to main content
Export FTP server credentials harvested from infected machines, filtered by server hostname substring and/or date range. Use to discover exposed deployment/hosting infrastructure — FTP credentials are frequently reused for production server access.

Request

POST /v1/data/ftp · Required scope: view:ftp (pro and ultra tiers) At least one of server_contains, start_date, or end_date is required.
ParameterTypeRequiredDefaultDescription
server_containsstring | nullOne of the three requiredCase-insensitive substring match against the FTP server host, e.g. "ftp.acme-corp.com"
start_datestring (date-time) | nullSee aboveInclusive start filter, clamped by query_window_days
end_datestring (date-time) | nullSee aboveInclusive end filter
sort_directionasc | descNodescMust stay constant across pages
cursorstring | nullNoPagination token
limitintegerNo251–500, clamped to your tier’s max_rows

Example request

curl -X POST https://api.vantaprism.me/v1/data/ftp \
  -H "api-key: $VANTAPRISM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "server_contains": "ftp.acme-corp.com", "limit": 25 }'

Response

200 OK — array of FTPRecord, cursor-paginated.
{
  "data": [
    {
      "victim_id": "a3f1c9e8b2d4567890abcdef1234567890abcdef1234567890abcdef123456",
      "server": "ftp.acme-corp.com",
      "username": "deploy",
      "password": "Tr0ub4dor&3",
      "inserted_at": "2026-05-02T14:22:31Z"
    }
  ],
  "nextCursor": null,
  "meta": {
    "request_id": "req_01HZXK3Q7N8YV6F3M2P9JABCDE",
    "took_ms": 24.6,
    "tier": "pro",
    "masked_fields": []
  }
}
FieldDescription
victim_idSHA-256 victim ID — use with Victim Profiles
serverFTP server hostname or IP
usernameMasked via partial_login on free tier
passwordReturned as "[REDACTED]" on free tier (ftp_password)
inserted_atWhen the record was ingested

Pagination

Cursor-paginated — see Pagination.

Errors

StatuscodeCause
400VALIDATION_ERRORNone of server_contains, start_date, end_date provided
400INVALID_CURSORTampered or stale cursor
403FORBIDDEN_SCOPEKey lacks view:ftp (free tier)
See Errors for the full catalog.

Tier notes

This endpoint requires view:ftp, which is not included on the free tier — a free-tier key receives 403 FORBIDDEN_SCOPE. Pro and ultra tiers receive username and password raw; returning a raw ftp_password is logged to the api_raw_access audit table.