{"uid":"cap_81ycdhh-Le7yswtf3OKGE","slug":"weather-forecast-barcelona-2331b1c9","name":"weather-forecast-barcelona","description":"7-day weather forecast for Barcelona: daily highs and lows, precipitation probability and totals, wind and conditions, plus hourly detail for today, from Open-Meteo. Trip planning and scheduling for Barcelona without an API key. $0.01 per call.","url":"https://data.intel.rallylive.ca/data/forecast/barcelona?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8VJYEw1-piCb9c60Dyuvc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a 7-day weather forecast for Barcelona including daily highs/lows, precipitation probability, wind, conditions, and hourly detail for today, powered by Open-Meteo.","exampleAgentPrompt":"What's the 7-day weather forecast for Barcelona? I need daily highs and lows, rain chances, and wind conditions, plus an hourly breakdown for today.","exampleUseCases":[{"title":"Trip packing check for Barcelona","prompt":"I'm flying to Barcelona on Friday and staying for a week — can you pull the 7-day forecast so I know what clothes to pack? I especially want to know about rain and how hot it's going to get."},{"title":"Outdoor event scheduling in Barcelona","prompt":"I'm organizing an outdoor event in Barcelona next week. Can you check the weather forecast for the next 7 days and tell me which days have the lowest chance of rain and the most comfortable temperatures?"},{"title":"Daily itinerary weather check for Barcelona","prompt":"We're spending today in Barcelona and want to plan our sightseeing around the weather — can you give me an hourly breakdown of the conditions for today so we know when to head out?"}],"resultDescription":"Returns a structured JSON response containing: daily weather data for 7 days (max/min temperature, precipitation probability and totals, wind speed, general weather condition codes), plus hourly temperature, precipitation, and condition data for the current day. All data is sourced from Open-Meteo and requires no additional API key.","failureModes":["Network or upstream Open-Meteo outage resulting in no data returned","Stale or cached data if Open-Meteo has not refreshed its models recently","Payment not accepted or x402 protocol error preventing access","Endpoint returns empty or malformed JSON if the data pipeline fails"],"whenToPreferThis":"Choose this endpoint when you need a no-auth, low-cost 7-day weather forecast specifically for Barcelona, including both daily summary statistics and intraday hourly granularity for today. Prefer it over general-purpose weather APIs when you want a simple GET call with no key management and a fixed $0.01/call micropayment model. Not suitable if you need real-time current conditions (use a weather-now endpoint) or forecasts for cities other than Barcelona.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T01:17:21.304Z","isFirstParty":false,"canonicalSlug":"weather-forecast-barcelona-2331b1c9"}