Get public marketplace API detail
curl --request GET \
--url https://api.peel.sh/public/marketplace/{marketplace_id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.peel.sh/public/marketplace/{marketplace_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.peel.sh/public/marketplace/{marketplace_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"description": "<string>",
"source_host": "<string>",
"source_url": "<string>",
"endpoint_count": 1,
"requires_session": true,
"updated_at": "2023-11-07T05:31:56Z",
"endpoints": [
{
"method": "<string>",
"endpoint_name": "<string>",
"input_schema": {},
"output_schema": {},
"endpoint_type": "<string>",
"auth_requirement": "<string>",
"examples": [
{
"kind": "endpoint_call",
"label": "<string>",
"request": {
"method": "POST",
"path": "<string>",
"headers": {},
"body": {}
},
"mcp_tool_call": {
"name": "call_endpoint",
"arguments": {
"endpoint_name": "<string>",
"params": {},
"api_id": "<string>",
"marketplace_id": "<string>",
"session_id": "<string>",
"encryption_key": "<string>"
}
},
"curl": "<string>",
"cli_command": "<string>"
}
],
"initiates_session": true,
"description": "<string>",
"credit_cost": 1
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"instance": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"retry": "same_key",
"docs_url": "<string>",
"details": {}
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"instance": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"retry": "same_key",
"docs_url": "<string>",
"details": {}
}Marketplace
Get public marketplace API detail
GET
/
public
/
marketplace
/
{marketplace_id}
Get public marketplace API detail
curl --request GET \
--url https://api.peel.sh/public/marketplace/{marketplace_id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.peel.sh/public/marketplace/{marketplace_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.peel.sh/public/marketplace/{marketplace_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"description": "<string>",
"source_host": "<string>",
"source_url": "<string>",
"endpoint_count": 1,
"requires_session": true,
"updated_at": "2023-11-07T05:31:56Z",
"endpoints": [
{
"method": "<string>",
"endpoint_name": "<string>",
"input_schema": {},
"output_schema": {},
"endpoint_type": "<string>",
"auth_requirement": "<string>",
"examples": [
{
"kind": "endpoint_call",
"label": "<string>",
"request": {
"method": "POST",
"path": "<string>",
"headers": {},
"body": {}
},
"mcp_tool_call": {
"name": "call_endpoint",
"arguments": {
"endpoint_name": "<string>",
"params": {},
"api_id": "<string>",
"marketplace_id": "<string>",
"session_id": "<string>",
"encryption_key": "<string>"
}
},
"curl": "<string>",
"cli_command": "<string>"
}
],
"initiates_session": true,
"description": "<string>",
"credit_cost": 1
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"instance": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"retry": "same_key",
"docs_url": "<string>",
"details": {}
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"instance": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"retry": "same_key",
"docs_url": "<string>",
"details": {}
}Response
Public marketplace API detail and endpoint contracts.
⌘I