1. Beaches
Beach Day API
  • Beach Day API
    • Health
      • Health check
    • Beaches
      • List beaches
        GET
      • Get beach detail
        GET
      • Get scored beaches
        GET
      • Get beach rules
        GET
      • Get beach amenities
        GET
    • Conditions
      • List beach conditions
    • Tides
      • Get tide predictions
    • Countries
      • List available countries
    • Schemas
      • HealthResponse
      • ErrorResponse
      • BeachListItem
      • BeachListResponse
      • JsonBlob
      • BeachRule
      • BeachAmenity
      • BeachDetail
      • BeachConditionsItem
      • BeachConditionsResponse
      • BeachRulesResponse
      • BeachAmenitiesResponse
      • TidePrediction
      • TideResponse
      • CountryListResponse
      • CountryItem
  1. Beaches

Get beach rules

GET
/beaches/{id}/rules/
Returns beach rule records as category/status/notes triples.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Responses

🟢200
application/json
Rules for the beach.
Bodyapplication/json

🟠401
🟠402
🟠404
🟠429
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://beachdayapi.com/v1/beaches//rules/' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "beach_id": 0,
    "rules": [
        {
            "category": "dogs",
            "status": "allowed",
            "notes": "string"
        }
    ]
}
Modified at 2026-07-14 21:45:45
Previous
Get scored beaches
Next
Get beach amenities
Built with