GET
/
api
/
posts
curl --request GET \
  --url https://kyvornapi.peretas.tech/api/posts
[
  {
    "id": "<string>",
    "author": {
      "id": "<string>",
      "username": "<string>",
      "handle": "<string>",
      "verified": true,
      "dev": true,
      "admin": true,
      "respected": true,
      "avatar": "<string>"
    },
    "title": "<string>",
    "content": "<string>",
    "timestamp": "2023-11-07T05:31:56Z",
    "scriptInfo": {
      "game": "<string>",
      "detection": "<string>",
      "type": "<string>",
      "pricing": "<string>",
      "bannerUrl": "<string>"
    },
    "stats": {
      "likes": 123
    },
    "scriptId": "<string>",
    "liked": true,
    "scriptContent": "<string>"
  }
]

Learn more about implementing Kyvorn into your UI

Query Parameters

limit
integer

The maximum number of results to return (max 100, above will error out with 400 error)

Search all posts with a query (leave blank to fetch basic results)

Response

200
application/json
Successful response
id
string

The Post ID (Not script ID)

author
object

Information about the post author

title
string

The title of the post, provided by the user

content
string

The description of the post, provided by the user

timestamp
string

The date the post was uploaded to Kyvorn

scriptInfo
object

User-provided information about the script

stats
object

Statistics for the script

scriptId
string

The Script ID that will be needed to access the raw script

liked
boolean

Will never return true since the user cannot sign in on an Integrated Kyvorn API app.

scriptContent
string

NOT SUPPORTED WITH /api/posts! ONLY SUPPORTED WITH /api/posts/{id}!!!! | The full script content of the post