Get Moment Info
curl --request GET \
--url https://api.inprocess.world/api/momentimport requests
url = "https://api.inprocess.world/api/moment"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.inprocess.world/api/moment', 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://api.inprocess.world/api/moment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.inprocess.world/api/moment"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.inprocess.world/api/moment")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.inprocess.world/api/moment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"uri": "<string>",
"owner": "<string>",
"sale": {
"type": "fixedPrice",
"pricePerToken": "<string>",
"saleStart": "<string>",
"saleEnd": "<string>",
"currency": "<string>"
},
"soldOut": true,
"admins": [
"<string>"
],
"protocol": "in_process",
"metadata": {
"name": "<string>",
"image": "<string>",
"description": "<string>",
"content": {
"mime": "<string>",
"uri": "<string>"
}
}
}{
"status": "error",
"message": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"status": "error",
"message": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Moments
Get Moment Info
Retrieve detailed information about a Moment on the In•Process protocol, including onchain moment data, sales configuration, metadata, and moment admins.
GET
/
moment
Get Moment Info
curl --request GET \
--url https://api.inprocess.world/api/momentimport requests
url = "https://api.inprocess.world/api/moment"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.inprocess.world/api/moment', 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://api.inprocess.world/api/moment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.inprocess.world/api/moment"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.inprocess.world/api/moment")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.inprocess.world/api/moment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"uri": "<string>",
"owner": "<string>",
"sale": {
"type": "fixedPrice",
"pricePerToken": "<string>",
"saleStart": "<string>",
"saleEnd": "<string>",
"currency": "<string>"
},
"soldOut": true,
"admins": [
"<string>"
],
"protocol": "in_process",
"metadata": {
"name": "<string>",
"image": "<string>",
"description": "<string>",
"content": {
"mime": "<string>",
"uri": "<string>"
}
}
}{
"status": "error",
"message": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"status": "error",
"message": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Query Parameters
The contract address of the Moment
The token ID of the Moment
Chain ID of the collection (default: Base, 8453)
Response
Successful response
Metadata URI of the moment
Current owner address of the moment
Show child attributes
Show child attributes
True if the token's max supply has been fully minted
Array of addresses with admin permissions
Protocol the collection belongs to
Available options:
in_process, catalog, sound.xyz Moment metadata object
Show child attributes
Show child attributes