Get post details
curl --request GET \
--url https://openapi.rocketpunch.com/api/v1/posts/{postId} \
--header 'X-RP-API-Key: <api-key>'import requests
url = "https://openapi.rocketpunch.com/api/v1/posts/{postId}"
headers = {"X-RP-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-RP-API-Key': '<api-key>'}};
fetch('https://openapi.rocketpunch.com/api/v1/posts/{postId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://openapi.rocketpunch.com/api/v1/posts/{postId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-RP-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://openapi.rocketpunch.com/api/v1/posts/{postId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-RP-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://openapi.rocketpunch.com/api/v1/posts/{postId}")
.header("X-RP-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.rocketpunch.com/api/v1/posts/{postId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-RP-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"postId": 9876543,
"author": {
"type": "COMPANY",
"name": "<string>",
"certificated": true,
"id": "<string>",
"imageUrl": "<string>"
},
"images": [
{
"id": 12345,
"url": "https://cdn.example.com/images/2026/5/30/abcdef.jpg",
"width": 1920,
"height": 1080
}
],
"mentions": {
"companies": [
{
"name": "<string>",
"id": "<string>"
}
],
"users": [
{
"name": "<string>",
"id": "<string>"
}
]
},
"repostedPostDeleted": true,
"stats": {
"likeCount": 123,
"commentCount": 123
},
"owned": true,
"webUrl": "https://www.rocketpunch.com/post/9876543",
"postedAt": "<string>",
"updatedAt": "<string>",
"content": "<string>",
"language": "<string>",
"og": {
"link": "<string>",
"title": "<string>",
"source": "<string>",
"image": "<string>",
"description": "<string>"
},
"repostedPost": null
}{
"code": "C0005",
"message": "pageSize must be 50 or less. Input: 51",
"timestamp": "2026-05-20T09:00:00",
"details": "startDate"
}{
"code": "C0005",
"message": "pageSize must be 50 or less. Input: 51",
"timestamp": "2026-05-20T09:00:00",
"details": "startDate"
}Posts
Get post details
Returns details for a single post.
GET
/
api
/
v1
/
posts
/
{postId}
Get post details
curl --request GET \
--url https://openapi.rocketpunch.com/api/v1/posts/{postId} \
--header 'X-RP-API-Key: <api-key>'import requests
url = "https://openapi.rocketpunch.com/api/v1/posts/{postId}"
headers = {"X-RP-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-RP-API-Key': '<api-key>'}};
fetch('https://openapi.rocketpunch.com/api/v1/posts/{postId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://openapi.rocketpunch.com/api/v1/posts/{postId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-RP-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://openapi.rocketpunch.com/api/v1/posts/{postId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-RP-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://openapi.rocketpunch.com/api/v1/posts/{postId}")
.header("X-RP-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.rocketpunch.com/api/v1/posts/{postId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-RP-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"postId": 9876543,
"author": {
"type": "COMPANY",
"name": "<string>",
"certificated": true,
"id": "<string>",
"imageUrl": "<string>"
},
"images": [
{
"id": 12345,
"url": "https://cdn.example.com/images/2026/5/30/abcdef.jpg",
"width": 1920,
"height": 1080
}
],
"mentions": {
"companies": [
{
"name": "<string>",
"id": "<string>"
}
],
"users": [
{
"name": "<string>",
"id": "<string>"
}
]
},
"repostedPostDeleted": true,
"stats": {
"likeCount": 123,
"commentCount": 123
},
"owned": true,
"webUrl": "https://www.rocketpunch.com/post/9876543",
"postedAt": "<string>",
"updatedAt": "<string>",
"content": "<string>",
"language": "<string>",
"og": {
"link": "<string>",
"title": "<string>",
"source": "<string>",
"image": "<string>",
"description": "<string>"
},
"repostedPost": null
}{
"code": "C0005",
"message": "pageSize must be 50 or less. Input: 51",
"timestamp": "2026-05-20T09:00:00",
"details": "startDate"
}{
"code": "C0005",
"message": "pageSize must be 50 or less. Input: 51",
"timestamp": "2026-05-20T09:00:00",
"details": "startDate"
}Authorizations
Headers
Supported response locales: ko, en, ja, zh-CN, zh-TW, es, fr, de, pt, th, vi. Default is ko.
Example:
"ko"
Path Parameters
Post ID
Response
Success. Reposted source posts are expanded by one level only. Additional reposts inside the expanded source are not included; nested reposted is null.
Post details
Post ID
Example:
9876543
Author
Show child attributes
Show child attributes
Image list
Show child attributes
Show child attributes
Mention
Show child attributes
Show child attributes
Whether the repost source was deleted
Aggregate statistics
Show child attributes
Show child attributes
Whether the post belongs to the authenticated user (always false without a Bearer token)
Post web URL
Example:
"https://www.rocketpunch.com/post/9876543"
Posted at (ISO 8601 UTC)
Updated at (ISO 8601 UTC)
Post body
Content language
Show child attributes
Show child attributes
Was this page helpful?