OpenAny
Get API keyAPI Key
APIDataTravel

plugshare logo
PlugShare Nearby Activity API

Get PlugShare activity near coordinates via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as latitude, limit, longitude, and retrieve structured data including source activity identifier, source activity type, source activity timestamp, and associated source location identifier for activity timeline, and location links.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

PlugShare Nearby Activity API

Prepare your request, then continue with your agent.

Pricing

$0.002 / billing credit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
PlugShare Nearby Activity API

PlugShare Nearby Activity API

Pass latitude and longitude, optionally radius_km, types, limit and before. next_before supplies time-based continuation; activity.happened_at and nested review timestamps are distinct from fetched_at.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required: latitude, longitude. Optional: radius_km, types, limit, before. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.
Selected implementation apish · PlugShare activity near a point API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Activity timeline: Keep source type and event timestamp.
  • Location links: Connect each contribution to its source location ID.

Returned Data

Field Meaning
activity[].id Source activity identifier
activity[].type Source activity type
activity[].happened_at Source activity timestamp
activity[].location.id Associated source location identifier
activity[].review.result Source check-in outcome when present
next_before Source time cursor for continuation

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/apish/plugshare/v1/activity \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode latitude=37.7749 \
  --data-urlencode limit=1 \
  --data-urlencode longitude=-122.4194 \
  --data-urlencode output=json \
  --data-urlencode raw=0

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published PlugShare Nearby Activity API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Latitude of the point.
Longitude of the point.
Optional parameters (9)
Radius in km (default 15, max 200).
Which activity to include, comma-separated: checkins, locations, photos (default all).
Items (1-50, default 20).
Only activity before this time (ISO 8601), for the next page.
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
PlugShare activity near a point API · GET · View API reference
$0.002 / billing credit0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
Pricing
$0.002

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/apish/plugshare/v1/activity
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
latitudeURL query parametersquerynumberYes

Latitude of the point.

longitudeURL query parametersquerynumberYes

Longitude of the point.

radius_kmURL query parametersqueryintegerNo

Radius in km (default 15, max 200).

typesURL query parametersquerystringNo

Which activity to include, comma-separated: checkins, locations, photos (default all).

limitURL query parametersqueryintegerNo

Items (1-50, default 20).

beforeURL query parametersquerystringNo

Only activity before this time (ISO 8601), for the next page.

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.

enum: "json"

recordsURL query parametersquerystringNo

With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • activityobject[]
    • actioninteger
    • happened_atstring
    • idinteger
    • locationobject
      • accessstring
      • addressstring
      • available_station_countnull
      • coming_soonboolean
      • connector_typesstring[]
      • fast_chargerboolean
      • icon_typestring
      • idinteger
      • in_use_station_countnull
      • latitudenumber
      • longitudenumber
      • namestring
      • network_logonull
      • plugscoreinteger
      • station_countinteger
      • stationsobject[]
        • idinteger
        • network_idinteger
        • outletsobject[]
          • connectorstring
          • connector_idinteger
          • dcboolean
          • idinteger
          • kilowattsinteger
          • power_typestring
          • statusstring
      • under_repairboolean
      • urlstring
    • reviewobject
      • ampsnull
      • commentstring
      • connectorstring
      • connector_idinteger
      • created_atstring
      • finished_atstring
      • helpfulinteger
      • idinteger
      • kilowattsinteger
      • languagestring
      • owner_responsenull
      • probleminteger
      • problem_descriptionstring
      • ratinginteger
      • resultstring
      • userstring
      • user_namestring
      • user_photonull
      • vehiclestring
      • vehicle_makestring
      • voltsnull
      • waitedboolean
    • typestring
    • userstring
    • user_namestring
    • user_photonull
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • fetched_atstring
  • latitudenumber
  • longitudenumber
  • next_beforestring
  • radius_kminteger

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits consumed$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 billing credit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Live API.SH response · Minimal request

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 11

    Review these request fields before running. Keep the published provider and request method unchanged.

    latitude
    Latitude of the point.
    longitude
    Longitude of the point.
    radius_km
    Radius in km (default 15, max 200).
    types
    Which activity to include, comma-separated: checkins, locations, photos (default all).
    limit
    Items (1-50, default 20).
    before
    Only activity before this time (ISO 8601), for the next page.
    raw
    0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
    fields
    Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
    fresh
    1 skips the 24-hour cache and fetches live.
    output
    JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
    records
    With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/apish/plugshare/v1/activity?latitude=37.7749&limit=1&longitude=-122.4194&output=json&raw=0' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "activity": [
        {
          "action": 1,
          "happened_at": "2026-11-19T06:24:13Z",
          "id": 57629880,
          "location": {
            "access": "public",
            "address": "320 Barber Ct, Milpitas, California, 95035, US",
            "available_station_count": null,
            "coming_soon": false,
            "connector_types": [
              "CCS1"
            ],
            "fast_charger": true,
            "icon_type": "Y",
            "id": 359446,
            "in_use_station_count": null,
            "latitude": 37.422928,
            "longitude": -121.918243,
            "name": "Milpitas Square (1)",
            "network_logo": null,
            "plugscore": 10,
            "station_count": 4,
            "stations": [
              {
                "id": 857873,
                "network_id": 47,
                "outlets": [
                  {
                    "connector": "CCS1",
                    "connector_id": 13,
                    "dc": true,
                    "id": 4301174,
                    "kilowatts": 350,
                    "power_type": "DC",
                    "status": "UNKNOWN"
                  }
                ]
              },
              {
                "id": 857874,
                "network_id": 47,
                "outlets": [
                  {
                    "connector": "CCS1",
                    "connector_id": 13,
                    "dc": true,
                    "id": 4301177,
                    "kilowatts": 350,
                    "power_type": "DC",
                    "status": "UNKNOWN"
                  }
                ]
              },
              {
                "id": 857875,
                "network_id": 47,
                "outlets": [
                  {
                    "connector": "CCS1",
                    "connector_id": 13,
                    "dc": true,
                    "id": 4301175,
                    "kilowatts": 350,
                    "power_type": "DC",
                    "status": "UNKNOWN"
                  }
                ]
              },
              {
                "id": 857876,
                "network_id": 47,
                "outlets": [
                  {
                    "connector": "CCS1",
                    "connector_id": 13,
                    "dc": true,
                    "id": 4301178,
                    "kilowatts": 350,
                    "power_type": "DC",
                    "status": "UNKNOWN"
                  }
                ]
              }
            ],
            "under_repair": false,
            "url": "https://www.plugshare.com/location/359446"
          },
          "review": {
            "amps": null,
            "comment": "Stn 01. SoC 26%->80% @ 178kW max. Ambient temperature 53°F.",
            "connector": "CCS1",
            "connector_id": 13,
            "created_at": "2026-11-19T06:24:13Z",
            "finished_at": "2026-11-19T06:54:14Z",
            "helpful": 0,
            "id": 12538002,
            "kilowatts": 178,
            "language": "eng",
            "owner_response": null,
            "problem": 0,
            "problem_description": "Not specified",
            "rating": 1,
            "result": "charged",
            "user": "Renimar",
            "user_name": "Renimar",
            "user_photo": null,
            "vehicle": "BMW iX3 2027",
            "vehicle_make": "BMW",
            "volts": null,
            "waited": false
          },
          "type": "checkin",
          "user": "Renimar",
          "user_name": "Renimar",
          "user_photo": null
        }
      ],
      "cached": false,
      "count": 1,
      "credits_used": 1,
      "fetched_at": "2026-11-19T12:27:53.887Z",
      "latitude": 37.7749,
      "longitude": -122.4194,
      "next_before": "2026-11-19T06:24:13Z",
      "radius_km": 15
    }

Common questions

What radius and page size are supported?

radius_km defaults to 15 and accepts up to 200; limit accepts 1–50 and defaults to 20.

How do I request earlier activity?

Pass next_before as before, preserving its ISO 8601 timestamp rather than using a page number.

Which types can I select?

types accepts comma-separated checkins, locations or photos; the documented default includes all.

Does one successful check-in establish current station availability?

It is a dated contribution. Keep its timestamp and outcome separate from current source station or outlet status.

How do I bypass cached results?

Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

Can I request CSV or NDJSON?

This OpenAny implementation serves JSON only. Omit output or set output=json.

Use PlugShare Nearby Activity API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.