Call it
curl https://api.peume.com/v1/call/search-volunteer-opportunities \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"cause_areas": "your cause areas",
"q": "your q"
}
}'const res = await fetch("https://api.peume.com/v1/call/search-volunteer-opportunities", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"cause_areas": "your cause areas",
"q": "your q"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-volunteer-opportunities",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"cause_areas": "your cause areas",
"q": "your q"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: search-volunteer-opportunities.
Parameters
cause_areasstringComma-separated cause areas to filter by. Accepted values include: EDUCATION, HEALTH_MEDICINE, ENVIRONMENT, CHILDREN_YOUTH, ARTS_MUSIC, COMMUNITY_DEVELOPMENT, ANIMALS, HOUSING_HOMELESSNESS, HUMAN_RIGHTS_CIVIL_LIBERTIES, CLIMATE_CHANGE, VOLUNTEERING, SCIENCE_TECHNOLOGY
qstringSearch query keyword
locationstringLatitude,longitude for geo search (e.g. '40.7128,-74.0060')
pageintegerPage number (0-indexed)
radiusintegerSearch radius in meters from location
location_typestringLocation type filter: ONSITE, REMOTE, HYBRID
