Community Garden Plot Match
Maximize the number of households assigned to acceptable garden plots, using the supplied preference order during matching.
Custom requests cost 0.04 USDC on Base.
Download example JSON · OpenAPI · Source and usage
Pay with a browser wallet · Open example in checkout
POST a JSON request to /community-garden-plot-match/v1/check with an x402 V2 client.
Worked example
Request
{
"plots": [
"east",
"west"
],
"applicants": [
{
"id": "first",
"ranked_plots": [
"east",
"west"
]
},
{
"id": "second",
"ranked_plots": [
"east"
]
},
{
"id": "third",
"ranked_plots": [
"east"
]
}
]
}Result
{
"assignments": [
{
"applicant": "first",
"plot": "west",
"preference_rank": 2
},
{
"applicant": "second",
"plot": "east",
"preference_rank": 1
}
],
"unmatched": [
"third"
]
}Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter