Generator · Generic data
MongoDB ObjectId
Endpoint GET /v1/object-id
What it covers
Returns a synthetic MongoDB ObjectId — a well-formed 24-character hex string. The value is derived entirely from the seed (timestamp and counter regions are synthetic, not wall-clock), so the same seed always reproduces the same id.
Parameters
| Parameter | Type | Description |
|---|---|---|
| count | integer1–1000 | Number of records to return, 1–1000 (your plan may lower this). Omitted returns a single record; set it for a batch. |
| edge | boolean | Restrict output to valid edge cases from the rare corners of the domain. |
| extreme | boolean | Return a correct value wrapped in a hostile encoding (untrimmed whitespace, invisible/zero-width characters, BOM, or bidi/combining marks). Homoglyphs are excluded so the value stays machine-parseable; it still validates after normalisation. |
| invalid | boolean | Return a deliberately invalid value that fails validation, for testing rejection paths. |
| seed | integer | Integer seed for reproducible output: the same seed always yields the same record. |
Response fields
| Field | Type | Description |
|---|---|---|
| value | string | The 24-character hex MongoDB ObjectId. |
Other generic generators
Auto-increment integer sequenceCompany name from one or more EU countriesDraw a member from a weighted enumerationDraw an object from a weighted list of candidatesEmail address from one or more EU countriesLorem ipsum textNano IDPerson nameProduct or service offeringString matching a regular expressionULIDUUID
Try it